a51

package module
v0.0.0-...-7fcd53f Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2018 License: MIT Imports: 4 Imported by: 1

README

A5/1

A5/1 implementation in golang.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crypt

func Crypt(msg string, key []byte) string

func GenKeystream

func GenKeystream(reg *register) ([]byte, []byte)

GenKeystream generate 114 bits keystream for encryption and decryption

func KeySetup

func KeySetup(reg *register, key []uint64, frame uint64)

KeySetup setup register with given key and frame

func NewRegister

func NewRegister() *register

NewRegister return new Register struct

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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