Hacker GitHub

← All repos

golang/crypto

View on GitHub ↗ ★ 3,352 Go

[mirror] Go supplementary cryptography libraries

11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2014-12-12 · latest 2025-12-02

Mentions per year 11 mentions · busiest year 2015 (2)
20082026
  1. …it may or may not be a breaking change). If you look at the Go implementation for example ( https://github.com/golang/crypto/commits/master/acme ), then there haven't been any major changes since it was first written in 2018: just bugfixes…
  2. …until no more buffer is left, leaving all the overflow-danger to the Go array implementation: https://github.com/golang/crypto/blob/642fcc37f5043eadb2509c... Possibly not as fast as C, but easier to reason about, I'd say.
    comment by halffullbrain · 2022-10-20 · in SHA-3 Buffer Overflow
  3. …in which case you get an assembler variant apparently directly derived from the XKCP package ( https://github.com/golang/crypto/blob/master/sha3/keccakf_am... ). Slightly concerning news for the (mostly-Golang-based) Ethereum ecosystem,…
    comment by derefr · 2022-10-20 · in SHA-3 Buffer Overflow
  4. …like that is legal: - https://github.com/minio/minio/blob/master/pkg/argon2/argon2.go#L38 - https://github.com/golang/crypto/blob/master/argon2/argon2.go > forked from https://golang.org/x/crypto/argon2 > modified to be used with MinIO…
    comment by merb · 2021-04-23 · in Minio Changes License to AGPL
  5. I believe this commit has background: https://github.com/golang/crypto/commit/d6449816ce06963d9d13... To be fair though, that package was depending on a private API to begin with.
    comment by steeve · 2020-05-13 · in What's Coming in Go 1.15
  6. https://github.com/ProtonMail/crypto/issues/21 https://github.com/golang/crypto/compare/master...ProtonMail... They changed defaults. 570d0c5fa7ef500786f15958b39af43af3359719 is interesting: "Add secp256k1 / x25519 / brainpool curves to…
  7. Presumably they respect that the running program has put the terminal into "raw mode" e.g. with https://github.com/golang/crypto/blob/master/ssh/terminal/ut...
  8. …will be slower, as there's no assembly. Edit: oops, looks like signatures were added 2 months ago ( https://github.com/golang/crypto/blob/master/ed25519/ ). (I guess it's the same agl's code). There is a detached version (Sign/Verify).
  9. …isn't this just a fork of crypto? Why fork the entire language? Why can't this be upstreamed? [0]: https://github.com/golang/crypto
    comment by jzelinskie · 2015-05-07 · in Go crypto: bridging the performance gap
  10. …salt. This particular function, scrypt, uses one-round PBKDF2-HMAC-SHA256 to mix password and salt: https://github.com/golang/crypto/blob/master/scrypt/scrypt.g... PBKDF2 feeds salt, basically, into SHA256:…
    comment by dchest · 2015-03-28 · in Slack was hacked
  11. Well, here's the code that Go uses to do elliptic curve encryption: https://github.com/golang/crypto/blob/master/curve25519/squa... It's in assembler, with no comments. It's from Bernstein's code, via Supercop, and is not original to the…