https://github.com/DeDiS/crypto
Tip revision: 1dd32d0a85cd9c303b54fe55822594a658aabf65 authored by Linus Gasser on 19 March 2020, 13:16:33 UTC
Fix dedis/kyber#415 (#417)
Fix dedis/kyber#415 (#417)
Tip revision: 1dd32d0
random.go
package kyber
import (
"crypto/cipher"
)
// Random is an interface that can be mixed in to local suite definitions.
type Random interface {
// RandomStream returns a cipher.Stream that produces a
// cryptographically random key stream. The stream must
// tolerate being used in multiple goroutines.
RandomStream() cipher.Stream
}