| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: value key &key string
RSA decrypt value using key. key can be a public or private key. If the value was encrypted with the public key then it should be decrypted with the private key, and vice versa. (See Support for RSA encryption in miscellaneous.htm for a description of key objects. Possible keys are returned by the function generate-rsa-keys.)
value can be
If value is an (unsigned-byte 8) vector (also called an octet vector) then the result of rsa-decrypt is either an octet array or, if string is true, a string.
If value is an integer then the result is an integer.
rsa-decrypt will signal an error if the given key is so far from the correct key to decrypt the value that it can't even run the decryption algorithm using it.
See also rsa-encrypt and generate-rsa-keys.
See Support for RSA encryption in miscellaneous.htm for information on RSA encryption and RSA encryption support in Allegro CL. There are examples of RSA encryption and decryption in that section. Support for encryption in the same document discusses encryption support in Allegro CL in general.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |