EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElPublicKeyCrypto Example

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#771
Posted: 07/20/2006 02:19:00
by Gloria Ho (Standard support level)
Joined: 07/20/2006
Posts: 12

I want to do text encryption/decryption with RSA. I find TElPublicKeyCrypto unit but no corresponding sample.
Can anyone kindly teach me how to assign public/secret key, do encryption and decryption?

Thanks a lot! :oops:
#772
Posted: 07/20/2006 02:36:01
by Ken Ivanov (EldoS Corp.)

Unfortunately, SecureBlackbox distribution does not contain such a sample at the moment. However, we are working on it and plan to include it to SecureBlackbox 5 beta.

Please find attached the sample application for VCL edition. Hope it will help you in your investigations.


[ Download ]
#777
Posted: 07/20/2006 03:33:46
by Gloria Ho (Standard support level)
Joined: 07/20/2006
Posts: 12

Thanks your sample.

For TElRSAKeyMaterial.LoadPublic(), what is the format of the file content?
I try a hexstring as below but it raises "invalid public key":
3081...0001

#784
Posted: 07/20/2006 05:36:10
by Ken Ivanov (EldoS Corp.)

This format is not recognized by the TElRSAKeyMaterial. Keys stored in this format should be first converted to the binary form. We have converted the key you specified for you, please find it attached.


[ Download ]
#800
Posted: 07/21/2006 03:26:30
by Gloria Ho (Standard support level)
Joined: 07/20/2006
Posts: 12

Besides LoadPublic() and LoadSecret(), is there any API to load keys with modulus and exponents?
#802
Posted: 07/21/2006 03:44:15
by Ken Ivanov (EldoS Corp.)

We have not implemented loading keys from raw modulus and exponent values, since these values are usually stored together as BLOBs. LoadPublic() and LoadSecret() work with different formats of public and private key BLOBs.
#883
Posted: 07/28/2006 03:50:55
by Gloria Ho (Standard support level)
Joined: 07/20/2006
Posts: 12

Can I know how to convert the hex string into binary form? :?:
And is it the only way to load publickey?
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 4371 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!