crypto icon indicating copy to clipboard operation
crypto copied to clipboard

[mirror] Go supplementary cryptography libraries

Results 102 crypto issues
Sort by recently updated
recently updated
newest added

While both impractical and unlikely, the multiplication could overflow on 32-bit architectures. The 64-bit architecture case is unaffected by both the maximum length of Go slices being too small to...

add `NewFromReader(reader ...io.Reader) (ssh.HostKeyCallback, error)` to knownhosts fixed [#62656](https://github.com/golang/go/issues/62656)

I believe this fixes https://github.com/golang/go/issues/36126 . The problem was that it was keeping only the first known key of each type found. If you have a server advertising multiple keys...

Add a top-level convenience function DialContext, mirroring func Dial. func DialContext(ctx context.Context, network, addr string, config *ClientConfig) (*Client, error) DialContext func accepts a context.Context as its first argument, which controls...

e.g. Dial("tcp", "host.domain:ssh") This will do service name to port number resolution on the client side.

Replaces internal and external use of `disconnectMsg` as an error type for reporting back disconnects with a new public `ssh.DisconnectError` type. This makes it possible to extract the disconnect reason...

Changes made: - Removed unecessary encoding and decoding between salt generation and expensiveblowfishsetup. - Magic cipherdata added directly into bcrypt function - Test salt unencoded since expensiveblowfishsetup no longer needs...

Allow to adapt payload type & complexity via hash.Hash Interface, similar to all other golang.org/x/crypto KDF functions (hkdf, pbkdf2,...). This would allow to continue to use and apapt existing scrypt...