NXP-14278: remove unused code, simplify internal APIs
NXP-14423: make BinaryScrambler implementations Serializable