pandect.algo.md2

MD2 algorithm implementation

md2

(md2 x)
[Hash] MD2 (value -> string)

md2*

(md2* x)
[Hash] MD2 (raw value)

md2-bytes

(md2-bytes x)
[Hash] MD2 (value -> byte array)

md2-file

(md2-file x)
[Hash] MD2 (file path -> string)

md2-file*

(md2-file* x)
[Hash] MD2 (raw value)

md2-file-bytes

(md2-file-bytes x)
[Hash] MD2 (file path -> byte array)

md2-rsa

(md2-rsa x private-key)
[Signature] MD2withRSA (value -> string)

Sign the given message using the given java.security.PrivateKey.

md2-rsa*

(md2-rsa* x private-key)
[Signature] MD2withRSA (raw value)

Sign the given message using the given java.security.PrivateKey.

md2-rsa-bytes

(md2-rsa-bytes x private-key)
[Signature] MD2withRSA (value -> byte array)

Sign the given message using the given java.security.PrivateKey.

md2-rsa-file

(md2-rsa-file x private-key)
[Signature] MD2withRSA (file path -> string)

Sign the given message using the given java.security.PrivateKey.

md2-rsa-file*

(md2-rsa-file* x private-key)
[Signature] MD2withRSA (raw value)

Sign the given message using the given java.security.PrivateKey.

md2-rsa-file-bytes

(md2-rsa-file-bytes x private-key)
[Signature] MD2withRSA (file path -> byte array)

Sign the given message using the given java.security.PrivateKey.

md2-rsa-verify

(md2-rsa-verify x signature public-key)
[Signature] MD2withRSA

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`.

md2-rsa-verify-file

(md2-rsa-verify-file x signature public-key)
[Signature] MD2withRSA

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`.