s2k

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const EXPBIAS = uint32(6)

EXPBIAS - S2K parameter

Variables

This section is empty.

Functions

This section is empty.

Types

type S2K

type S2K struct {
	*options.Options
	// contains filtered or unexported fields
}

S2K - information of public key algorithm

func New

func New(opt *options.Options, reader *bytes.Reader) *S2K

New returns new Pubkey

func (*S2K) Get

func (s *S2K) Get() (*items.Item, error)

Get parsing S2K information

func (S2K) HasIV

func (s S2K) HasIV() bool

HasIV returns true if it has IV

func (S2K) Left

func (s S2K) Left() int

Left returns left bytes

Jump to

Keyboard shortcuts

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