Loading

MSIG

crypto

The MSIG function extracts a signature macro from a signed macro. The function can also be used with 3 STRING parameters in which case is simply consumes those parameters and emits nothing. This latter case is meant for signature macros so such macros are valid macros which do nothing. See MSIGN for the format of the signature macros.

If the input macro does not contain a signature, the result of applying MSIG will be an empty macro.

MSIG is available since version 2.7.8.

See also

Signatures

Examples

<% 1 'secp256r1' '048881ea91c761e3fc24a7463e7118a18dbc3ee623e020ad26ae9a78042326d4c52eb125d14bbc11b7caed8920537d6a7db9d2b055bce32f1c9a04fbc337151d06' '3045022100e088df9f52d1686313a367d85c366e8312d3e3ecf09609a7f79650b377707f0702207278fb090e2c0c17e4ff3926bcd74709fff2762808b5b759375da685d522fc13' MSIG %> MSIG