Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Encryption Functions
MD5(String s)
Calculates an MD5 checksum for the string.
SHA1(String s)
Calculates an SHA-1 checksum for the string.
SHA256(String s)
Calculates an SHA-265 checksum for the string.
SHA384(String s)
Calculates an SHA-384 checksum for the string.
SHA512(String s)
Calculates an SHA-512 checksum for the string.
DSA(Number size)
Generates a DSA key pair of the given size.
RSA(Number size)
Generates a RSA key pair of the given size.
RSASign(Object
,String : Private Keyo,String key)
Computes a signature for the given object with the given private key.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT rsaSign("Hello World", "30820154020100300D...) FROM Stream => 51DC22BAFD51B112C72... |
RSAVerify(Object o, String
: Signaturesignature, String
: Public Keykey)
Verifies the signature for the given object with the given public key.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT rsaVerify("Hello World", "51DC22BAFD51B112C72...", "305C300D06092A8648...) FROM Stream => true |
Table of Contents |
---|