package
Version:
v0.0.0-...-62eada6
Opens a new window with list of versions in this module.
Published: Sep 12, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ice implements the Information Concealment Engine by Matthew Kwan.
This package is derived from Matthew Kwan's public domain source code.
https://www.darkside.com.au/ice/
Key implements crypto/cipher.Block. It is safe to use concurrently from
multiple goroutines.
Must panics if the error is non-nil.
New creates a new 64-bit ICE key.
NewMulti creates a new ICE key that is a multiple of 8 bytes.
func (ik *Key) BlockSize() int
BlockSize returns the block size, in bytes.
func (ik *Key) Decrypt(dst, src []byte)
Decrypt a block of 8 bytes of data with the given ICE key.
func (ik *Key) Encrypt(dst, src []byte)
Encrypt a block of 8 bytes of data with the given ICE key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.