Crypto libs working on string rather than bytes
bytes
are mutable but most crypto functions work on immutable values. They should use the type string
instead.
The following discussion from !3509 (merged) should be addressed:
-
@mbouaziz started a discussion: (+1 comment) Ideally we'd have crypto libs work on strings but that's another story