Expand description
Deprecated compatibility shim for negative fixture primitives.
Prefer uselesskey-core; generic negative helpers are now owned by
uselesskey_core::srp::negative.
Enums§
- Corrupt
Pem - Strategies for corrupting PEM-encoded data.
Functions§
- corrupt_
der_ deterministic - Choose a corruption strategy deterministically from
variantand apply it toder. - corrupt_
pem - Apply a specific
CorruptPemcorruption strategy to the given PEM string. - corrupt_
pem_ deterministic - Choose a corruption strategy deterministically from
variantand apply it topem. - flip_
byte - XOR the byte at
offsetwith0x01, returning the original ifoffsetis out of range. - truncate_
der - Truncate
derto at mostlenbytes, returning the original if already shorter.