xcrypto

module
v0.0.0-...-6fdec92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2019 License: BSD-3-Clause

README

Build Status

xcrypto

Miscellaneous crypto-related utility packages written in Go.

Components

See the individual directories for licensing information.

pkcs12

This is a a fork of golang.org/x/crypto/pkcs12 which adds flexible encoding support. It constructs PKCS#12 .pfx files capable of being read (at least) by:

  • Its own decoder.
  • openssl pkcs12.
  • Java's PKCS12 keystore implementation.

We have not attempted to push this upstream because past attempts to push analogous code have been declined.

To build and test:

cd pkcs12
go test -v ./...
./test-openssl
./test-java

KDF

KDF includes from-scratch implementations of the KDF1 and KDF2 key derivation algorithms used in various cryptographic schemes. The 2 flavors of KDF implement the standard io.Reader interface. The code includes known answer tests and example usage.

Directories

Path Synopsis
Package pkcs12 implements some of PKCS#12.
Package pkcs12 implements some of PKCS#12.
internal/rc2
Package rc2 implements the RC2 cipher https://www.ietf.org/rfc/rfc2268.txt http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf This code is licensed under the MIT license.
Package rc2 implements the RC2 cipher https://www.ietf.org/rfc/rfc2268.txt http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf This code is licensed under the MIT license.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL