Method: PkernelJce::IoUtils.to_hex

Defined in:
lib/pkernel_jce/io_utils.rb

.to_hex(bin) ⇒ Object

end ensure_java_bytes



33
34
35
# File 'lib/pkernel_jce/io_utils.rb', line 33

def IoUtils.to_hex(bin)
  String.from_java_bytes(org.bouncycastle.util.encoders.Hex.encode(bin))
end