1
0
mirror of https://github.com/taigrr/arc synced 2025-01-18 04:33:13 -08:00
2016-05-24 21:26:50 +09:00

14 lines
249 B
Go

// Copyright (C) 2016 - Will Glozer. All rights reserved.
package ecies
type Cipher interface {
Init(key, nonce []byte) error
Auth(src []byte)
Decrypt(dst, src []byte)
Encrypt(dst, src []byte)
Tag(tag []byte) []byte
Reset()
TagSize() int
}