BPFromBytes

密碼編譯

描述

把大端序位元組字串載入 Brainpool 大整數值

語法

Delphi

Function BPFromBytes(Out V: TBPValue; Const Bytes: AnsiString): Boolean;

參數

V接收解碼後的值;解碼開始前清為零
Bytes1 到 64 位元組,最高有效位元組在前

傳回值

True位元組已解碼
False輸入為空或超過 64 位元組;V 保持為零

備註

BPToBytes 的配套函式,在曲線座標與 BPLoadCurve 算術之間搬移

另請參閱

BPToBytes, BPLoadCurve, BPKeyGen, BPSignFixedK