EldoS | Feel safer!

Software components for data protection, secure storage and transfer

“Salt” for generating a key (PGP)

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 09/06/2007 03:27:32
by Daniel Sochor (Basic support level)
Joined: 09/06/2007
Posts: 2


I would like to know if it is possible to change/add “salt” for generating a key (PGP) in SecureBlackbox. If that not is possible, how is that mechanism done in SecureBlackbox, to get randomness, i.e. maintain high security? If it is possible, to change/add “salt”, how do I do that? I have noticed that there is a randomizer, ElRandom.Randomize, but I can’t se if/how that it is used by the key generation method.

The code I am using:
TElPGPSecretKey key;
key.Generate("XXXXX", 1024, SBPGPConstants.Unit.SB_PGP_ALGORITHM_PK_DSA, 2048, SBPGPConstants.Unit.SB_PGP_ALGORITHM_PK_ELGAMAL, "YYYYYYY", 0);

Daniel Sochor
Posted: 09/06/2007 03:59:39
by Ken Ivanov (EldoS Corp.)

SecureBlackbox uses a global randomizer for the purpose of generating secure random values. You can seed your data to the randomizer by using one of the SBUtils.Unit.SBRndSeed() methods.
Posted: 09/06/2007 05:36:15
by Daniel Sochor (Basic support level)
Joined: 09/06/2007
Posts: 2

Thank you for the quick answer!




Topic viewed 2547 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!