Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomCipherComponent.SetKeyStr

procedure SetKeyStr(const aKey: OctetString; aFormat: tStringFormat = sfBinary);
Convenience overload of SetKeyPtr that accepts the key encoded as binary, hex, or base64 text (aFormat); an application uses this when the key comes from a config file or UI field in one of those textual encodings.