ACRYPT
NAME
acrypt - Asymetric crypt
SYNOPSIS
acrypt(public_key:string,text:string)
PARAMETERS
- public_key
- Encryption key value generated by genkey
- text
- Text to encrypt
RETURN
- String
- Returns the encrypted string.
EXAMPLES
keys = genkey(algo:"rsa","bits":1024);
ct = acrypt(keys.public, "This is a text; été");
adecrypt(keys.private, ct);
SEE ALSO
{{ include("includes/cryptography.sn") }}
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>
MODIFICATIONS
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit