120 lines
No EOL
40 KiB
Text
120 lines
No EOL
40 KiB
Text
!<arch>
|
||
__.PKGDEF 0 0 0 644 1933 `
|
||
go object linux amd64 go1.5.1 X:none
|
||
build id "22d03f134b47c9c12ba10ef038bc754aa15be193"
|
||
|
||
$$
|
||
package crypto
|
||
import runtime "runtime"
|
||
import hash "hash"
|
||
import io "io"
|
||
import strconv "strconv"
|
||
type @"hash".Hash interface { BlockSize() (? int); Reset(); Size() (? int); Sum(@"hash".b []byte) (? []byte); Write(@"io".p []byte) (@"io".n int, @"io".err error) }
|
||
type @"".Hash uint
|
||
func (@"".h·2 @"".Hash) Available () (? bool) { return @"".h·2 < @"".Hash(0x10) && @"".hashes[@"".h·2] != nil }
|
||
func (@"".h·2 @"".Hash) HashFunc () (? @"".Hash) { return @"".h·2 }
|
||
func (@"".h·2 @"".Hash) New () (? @"hash".Hash)
|
||
func (@"".h·2 @"".Hash) Size () (? int)
|
||
const @"".MD4 @"".Hash = 0x1
|
||
const @"".MD5 @"".Hash = 0x2
|
||
const @"".SHA1 @"".Hash = 0x3
|
||
const @"".SHA224 @"".Hash = 0x4
|
||
const @"".SHA256 @"".Hash = 0x5
|
||
const @"".SHA384 @"".Hash = 0x6
|
||
const @"".SHA512 @"".Hash = 0x7
|
||
const @"".MD5SHA1 @"".Hash = 0x8
|
||
const @"".RIPEMD160 @"".Hash = 0x9
|
||
const @"".SHA3_224 @"".Hash = 0xa
|
||
const @"".SHA3_256 @"".Hash = 0xb
|
||
const @"".SHA3_384 @"".Hash = 0xc
|
||
const @"".SHA3_512 @"".Hash = 0xd
|
||
const @"".SHA512_224 @"".Hash = 0xe
|
||
const @"".SHA512_256 @"".Hash = 0xf
|
||
func @"".RegisterHash (@"".h·1 @"".Hash, @"".f·2 func() (? @"hash".Hash))
|
||
type @"".PublicKey interface {}
|
||
type @"".PrivateKey interface {}
|
||
type @"io".Reader interface { Read(@"io".p []byte) (@"io".n int, @"io".err error) }
|
||
type @"".SignerOpts interface { HashFunc() (? @"".Hash) }
|
||
type @"".Signer interface { Public() (? @"".PublicKey); Sign(@"".rand @"io".Reader, @"".msg []byte, @"".opts @"".SignerOpts) (@"".signature []byte, @"".err error) }
|
||
type @"".DecrypterOpts interface {}
|
||
type @"".Decrypter interface { Decrypt(@"".rand @"io".Reader, @"".msg []byte, @"".opts @"".DecrypterOpts) (@"".plaintext []byte, @"".err error); Public() (? @"".PublicKey) }
|
||
func @"".init ()
|
||
const @"".maxHash @"".Hash = 0x10
|
||
var @"".hashes []func() (? @"hash".Hash)
|
||
|
||
$$
|
||
|