Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedData ¶
type HybridEncryptor ¶
type HybridEncryptor struct {
// contains filtered or unexported fields
}
func NewHybridEncryptor ¶
func NewHybridEncryptor( kyber *quantum.KyberEncryptor, dilithium *quantum.DilithiumSigner, metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer, ) *HybridEncryptor
func (*HybridEncryptor) Decrypt ¶
func (h *HybridEncryptor) Decrypt(ctx context.Context, encData *EncryptedData, privateKey []byte) ([]byte, error)
func (*HybridEncryptor) Encrypt ¶
func (h *HybridEncryptor) Encrypt(ctx context.Context, data []byte) (*EncryptedData, error)
Click to show internal directories.
Click to hide internal directories.