pandect.algo.sha1
SHA-1 algorithm implementation
sha1
(sha1 x)
[Hash] SHA-1 (value -> string)
sha1-bytes
(sha1-bytes x)
[Hash] SHA-1 (value -> byte array)
sha1-dsa
(sha1-dsa x private-key)
[Signature] SHA1withDSA (value -> string)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa*
(sha1-dsa* x private-key)
[Signature] SHA1withDSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa-bytes
(sha1-dsa-bytes x private-key)
[Signature] SHA1withDSA (value -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa-file
(sha1-dsa-file x private-key)
[Signature] SHA1withDSA (file path -> string)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa-file*
(sha1-dsa-file* x private-key)
[Signature] SHA1withDSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa-file-bytes
(sha1-dsa-file-bytes x private-key)
[Signature] SHA1withDSA (file path -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha1-dsa-verify
(sha1-dsa-verify x signature public-key)
[Signature] SHA1withDSA
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`.
sha1-dsa-verify-file
(sha1-dsa-verify-file x signature public-key)
[Signature] SHA1withDSA
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`.
sha1-file
(sha1-file x)
[Hash] SHA-1 (file path -> string)
sha1-file-bytes
(sha1-file-bytes x)
[Hash] SHA-1 (file path -> byte array)
sha1-hmac
(sha1-hmac x secret)
[HMAC] HmacSHA1 (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`.
sha1-hmac*
(sha1-hmac* x secret)
[HMAC] HmacSHA1 (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`.
sha1-hmac-bytes
(sha1-hmac-bytes x secret)
[HMAC] HmacSHA1 (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`.
sha1-hmac-file
(sha1-hmac-file x secret)
[HMAC] HmacSHA1 (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`.
sha1-hmac-file*
(sha1-hmac-file* x secret)
[HMAC] HmacSHA1 (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`.
sha1-hmac-file-bytes
(sha1-hmac-file-bytes x secret)
[HMAC] HmacSHA1 (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`.
sha1-rsa
(sha1-rsa x private-key)
[Signature] SHA1withRSA (value -> string)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa*
(sha1-rsa* x private-key)
[Signature] SHA1withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa-bytes
(sha1-rsa-bytes x private-key)
[Signature] SHA1withRSA (value -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa-file
(sha1-rsa-file x private-key)
[Signature] SHA1withRSA (file path -> string)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa-file*
(sha1-rsa-file* x private-key)
[Signature] SHA1withRSA (raw value)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa-file-bytes
(sha1-rsa-file-bytes x private-key)
[Signature] SHA1withRSA (file path -> byte array)
Sign the given message using the given java.security.PrivateKey.
sha1-rsa-verify
(sha1-rsa-verify x signature public-key)
[Signature] SHA1withRSA
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`.
sha1-rsa-verify-file
(sha1-rsa-verify-file x signature public-key)
[Signature] SHA1withRSA
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`.