blob: e4a86174b0e2b193dc0d5bc05b1a45764162b758 (
plain)
1
2
3
4
5
6
7
8
|
package ixee.cryptopals.utils.crypto
trait IxeeCipher {
def update(data: Seq[Byte]): Seq[Byte]
def end(): Seq[Byte]
def end(data: Seq[Byte]): Seq[Byte] =
update(data) ++ end()
}
|