codahale
Joined 18 years ago
Joined 18 years ago
And that 'fizzle' used to mean 'fart quietly'? http://www.etymonline.com/index.php?term=fizzle
And that 'wench' used to mean 'child'? http://www.etymonline.com/index.php?term=wench
And that 'meat' used to mean 'food'? http://www.etymonline.com/index.php?term=meat
Etymology is fascinating (a word which itself may be related to the Latin 'fascinum', or penis).
http://wholehealthsource.blogspot.com/2015/08/a-new-human-tr...
http://wholehealthsource.blogspot.com/2015/08/more-thoughts-...
National Suicide Prevention Lifeline
24 hours a day, 7 days a week
or www.suicidepreventionlifeline.org
The code you write is either thread-safe, used in a single-threaded context, or a pinless grenade.
If you have a bunch of immutable state, then build unexported package variables in the package’s `init` func and export funcs which use those variables.
If you have a bunch of mutable state, then don’t use a singleton.
First, you're describing RSA signatures. "Encrypt X with your private key" means "X^D mod N" which is how RSA signatures work. In the context of RSA-based cryptosystems, it's clearer to just say "signed".
Second, the ghsign library uses the `RSA-SHA1` signer, which runs the message through SHA1 before signing it. The reason it does this is because "textbook" RSA (i.e. RSA on arbitrary messages) is vulnerable to chosen-plaintext attacks.
Haskell: https://github.com/codahale/hs-shamir Go: https://github.com/codahale/sss Rust: https://github.com/codahale/sss.rs Java: https://github.com/codahale/shamir