Activecrypt Online Help Prev Next
About ActiveCrypt
About
ActiveCrypt overview
How to ...
How to make pair of keys
Create new public key from private
How to decrypt string
How to encrypt string
How to save keys
Free keys
Programmer reference
Hash
Hash overview
Methods
HashFile
HashVariant
Properties
Error
Crypt
Encryption overview
Methods
DecryptFile
DecryptVariant
EncryptFile
EncryptVariant
FreeKey
LoadKeyFromString
LoadKey
Properties
AddCRLF
Error
KeySize
Base64
Base64 overview
Methods
DecodeFile
DecodeVariant
EncodeFile
EncodeVariant
Properties
AddCRLF
Error
Sign
Sign overview
Methods
FreeKey
LoadKey
LoadKeyFromString
MakeVariantSignature
MakeFileSignature
VerifyFileSignature
VerifyVariantSignature
Properties
AddCRLF
Error
RSACrypt (old, use Crypt)
Methods
FreeKey
GenerateCouple
GeneratePublicKey
GetVersion
LoadKeyFromString
LoadKey
PublicEncrypt
PrivateDecrypt
SaveKeyToString
SaveKey
Properties
About
Async
Error
Events
OnDecryptionFinished
OnEncryptionFinished
OnError
OnKeyGenerationFinished
Disclaimer

How to load keys.

Loading of a key is an operation of loading of a file (or from string) with a key into memory. Private keys need a password, public keys do not. Private or public keys can be loaded with LoadKey or LoadKeyFromString function. This operation usually takes place at the beginning of encryption / decryption. At the end of work the key should be explicitly freed with the FreeKey function. To load the private key, you should specify a password, otherwise the function will fail with ERR_ERRREADINGKEY.

Keeping the private key on server does not make a big security risk, since the current technology level makes it impossible to produce a private key within reasonable period of time. Private keys are stored with a password. The longer is the password, the more time it is needed to bruteforce it.

This HTML Help has been published using the chm2web software.