crypto

command module
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

This repo provides a list of utility modules that are currently used by payment plugin and manufacturing plugin.

AES

  • factory methods to construct an AES-GCM cipher with a 96-bit nonce from the input raw key bytes
  • encrypt & decrypt methods, the output ciphertext is prefixed with the random nonce.

DES

  • factory methods to construct an DES or 3DES cipher from the raw key bytes or hex text
  • encrypt & decrypt methods
  • verify the constructed cipher against the check value

KEK Bundle

Helper class to construct a 3DES key encryption key from a list of components.

RSA

Common RSA operations for plugins to use. Targeting use-cases such as key extraction.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package aes provides wrapper methods on top of the AES GCM cipher for our own usage
Package aes provides wrapper methods on top of the AES GCM cipher for our own usage
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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