Loading

MDETACH

crypto

The MDETACH function detaches a signature macro from a signed macro. The original macro is shrunk, it is not a shorter copy, you can use + right after the call to MDETACH to recreate the original macro.

If the input macro does not contain a signature, the result of applying MDETACH will be an empty macro and the original macro will not be modified.

MDETACH is available since version 2.7.8.

See also

Signatures

Examples

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