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
20082026
-
…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…
comment by arp242 · 2025-12-02 · in Decreasing Certificate Lifetimes to 45 Days -
…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 -
…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 -
…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 -
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 -
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…
comment by tgragnato · 2019-05-16 · in GopenPGP, an open source encryption library for native applications -
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...
comment by frou_dh · 2016-08-30 · in Micro v1.0 – a terminal-based text editor written in Go -
…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).
comment by dchest · 2016-06-30 · in Snowden’s Favorite Cloud Service Now Has a Group Chat App -
…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 -
…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 -
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…
comment by Animats · 2014-12-12 · in Writing a replacement for OpenSSH using Go, part 2