pandect.algo.md5
MD5 algorithm implementation
md5
(md5 x)
[Hash] MD5 (value -> string)
md5-bytes
(md5-bytes x)
[Hash] MD5 (value -> byte array)
md5-file
(md5-file x)
[Hash] MD5 (file path -> string)
md5-file-bytes
(md5-file-bytes x)
[Hash] MD5 (file path -> byte array)
md5-hmac
(md5-hmac x secret)
[HMAC] HmacMD5 (value -> string)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-hmac*
(md5-hmac* x secret)
[HMAC] HmacMD5 (raw value)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-hmac-bytes
(md5-hmac-bytes x secret)
[HMAC] HmacMD5 (value -> byte array)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-hmac-file
(md5-hmac-file x secret)
[HMAC] HmacMD5 (file path -> string)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-hmac-file*
(md5-hmac-file* x secret)
[HMAC] HmacMD5 (raw value)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-hmac-file-bytes
(md5-hmac-file-bytes x secret)
[HMAC] HmacMD5 (file path -> byte array)
'secret' can be given as a byte array, string, java.io.File, java.io.InputStream
or any value implementing `pandect.utils.convert/ByteConvertable`.
md5-rsa
(md5-rsa x private-key)
[Signature] MD5withRSA (value -> string)
Sign the given message using the given java.security.PrivateKey.
md5-rsa*
(md5-rsa* x private-key)
[Signature] MD5withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
md5-rsa-bytes
(md5-rsa-bytes x private-key)
[Signature] MD5withRSA (value -> byte array)
Sign the given message using the given java.security.PrivateKey.
md5-rsa-file
(md5-rsa-file x private-key)
[Signature] MD5withRSA (file path -> string)
Sign the given message using the given java.security.PrivateKey.
md5-rsa-file*
(md5-rsa-file* x private-key)
[Signature] MD5withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
md5-rsa-file-bytes
(md5-rsa-file-bytes x private-key)
[Signature] MD5withRSA (file path -> byte array)
Sign the given message using the given java.security.PrivateKey.
md5-rsa-verify
(md5-rsa-verify x signature public-key)
[Signature] MD5withRSA
Verify the given message signature using the given public key (anything implementing `pandect.utils.convert/PublicKeyConvertable`)
The signature can be given as a byte array, hex (!) string, java.io.File,
java.io.InputStream or anything implementing `pandect.utils.convert/ByteConvertable`.
md5-rsa-verify-file
(md5-rsa-verify-file x signature public-key)
[Signature] MD5withRSA
Verify the given message signature using the given public key (anything implementing `pandect.utils.convert/PublicKeyConvertable`)
The signature can be given as a byte array, hex (!) string, java.io.File,
java.io.InputStream or anything implementing `pandect.utils.convert/ByteConvertable`.