Implementation of the RSA public key encryption algorithm.
RSA instance factory
Parameters: | array|Traversable – |
---|---|
Return type: | Rsa |
Throws : | RsaExceptionRuntimeException |
Throws : | RsaExceptionInvalidArgumentException |
Class constructor
Parameters: | RsaOptions – |
---|---|
Throws RsaExceptionRuntimeException: | |
Sign with private key
Parameters: |
|
---|---|
Return type: | string |
Throws : | RsaExceptionRuntimeException |
Verify signature with public key
Parameters: |
|
---|---|
Return type: | bool |
Throws : | RsaExceptionRuntimeException |
See : | |
See : | |
See : |
Encrypt with private/public key
Parameters: |
|
---|---|
Return type: | string |
Throws : | RsaExceptionInvalidArgumentException |
Decrypt with private/public key
Parameters: |
|
---|---|
Return type: | string |
Throws : | RsaExceptionInvalidArgumentException |
See : | |
See : | |
See : |