mirror of
https://github.com/luxfi/keys.git
synced 2026-09-24 00:26:10 +00:00
65d1fd2fcd1ac1b9f27a5e2185e173c7a67d2af4
Parsing is the expensive half and the result is immutable, so a per-call parse buys nothing; holding it also means the key is zeroed once, at Wipe. The comments explaining that were a walkthrough of a library defect instead, which is both more than a reader needs and — since crypto v1.20.5 makes the constructor own its copy — no longer true. crypto v1.20.5 comes with it, so this module gets the owning constructor too. Co-authored-by: Hanzo Dev <[email protected]>
Languages
Go
100%