This macro will allow a newtype that has a single tuple field to use a fingerprint instead of
printing the secret value.
struct Foo([u8;32])
impl_secret_debug!(Foo);
Then the debug will print something like Foo(redacted:bda33dd3...).
This macro will allow a newtype that has a single named field to use a fingerprint instead of
printing the secret value.
struct Foo {secret:[u8;32]}
impl_secret_debug_named!(Foo, secret);
Then the debug will print something like Foo{redacted:bda33dd3...}.