File: cipher.go

package info (click to toggle)
golang-github-viant-toolbox 0.33.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,280 kB
  • sloc: makefile: 16
file content (14 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package cred

type Encryptor interface {
	Encrypt(src []byte) []byte
}

type Decryptor interface {
	Decrypt(src []byte) []byte
}

type Cipher interface {
	Encryptor
	Decryptor
}