Go to main content

adecrypt

Asymetric decrypt

ADECRYPT

NAME

acderypt - Asymetric decrypt

SYNOPSIS

adecrypt(private_key:string,string)

PARAMETERS

private_key
Private encryption key value generated by genkey
text
Text to decrypt

RETURN

String
Returns the decrypted 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

© 2024 extenso Inc. All rights reserved.