crypto - Rsa Demo

Description

This sample uses the RSA algorithm.

This demo uses the following classes.

Required Environment

None.

How to Use

None.

Notes

Execution Procedure

When the demo is executed, the following log is displayed in debug output.

cryptoRSA sample

Encrypting and Decrypting with RSA Public-Key Cryptography

ENCRYPT
Encrypt SUCCESS
DECRYPT
Decrypt SUCCESS
DECRYPTED MESSAGE:
this is test string.

Signature Verification with RSA Public-Key Cryptography

SIGN
VERIFY
Verify SUCCESS

Signature Verification of the Digest Value with RSA Public-Key Cryptography

DIGEST and SIGN
Digest and Sign SUCCESS
VERIFY
Verify SUCCESS
RSA test FINISHED.

There is no shutdown procedure. Stop execution in a timely manner.

Revision History

2012/01/12
Changed name from crypto to Rsa.
2011/09/08
Initial version.

CONFIDENTIAL