PLSM2IntToBE32
Cryptography
Description
Serialises a TP LSM2Int into 32 big-endian bytes in an AnsiString
Syntax
Delphi
Function PLSM2IntToBE32(Const V: TPLSM2Int): AnsiString;Parameters
| V | Value to serialise |
|---|
Return values
| The 32-byte big-endian encoding of V |
Remarks
Part of the pure-Pascal SM2 suite (GB/T 32918) covering 256-bit prime-field arithmetic, Jacobian point operations and the SM3-based ZA derivation; the recommended sm2p256v1 curve ships as the SM2P256V1 constant and the specification appendix curve as SM2ExampleCurve