BPToBytes
密碼編譯
描述
把 Brainpool 大整數值序列化為固定長度的大端序位元組字串
語法
Delphi
Function BPToBytes(Const V: TBPValue; ByteLen: Integer): AnsiString;參數
| V | 要序列化的值 |
|---|---|
| ByteLen | 輸出長度 1 到 64 位元組;值會被截斷或補零以符合長度 |
傳回值
| ByteLen 位元組,最高有效位元組在前;ByteLen 超出範圍時為空字串 |
備註
曲線工作流程需要固定寬度座標,請傳曲線位元組長度而不是最短編碼
BPFromBytes 的反函式