MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / Embed

Method Embed

lib/dedis/kyber/group.go:95–95  ·  view source on GitHub ↗

Embed encodes a limited amount of specified data in the Point, using r as a source of cryptographically secure random data. Implementations only embed the first EmbedLen bytes of the given data.

(data []byte, r cipher.Stream)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ElGamalEncryptFunction · 0.65
testEmbedFunction · 0.65

Implementers 9

pointG1lib/dedis/kyber/pairing/bn256/point.go
pointG2lib/dedis/kyber/pairing/bn256/point.go
pointGTlib/dedis/kyber/pairing/bn256/point.go
pointlib/dedis/kyber/group/edwards25519/poi
basicPointlib/dedis/kyber/group/curve25519/basic
projPointlib/dedis/kyber/group/curve25519/proj.
extPointlib/dedis/kyber/group/curve25519/ext.g
curvePointlib/dedis/kyber/group/nist/curve.go
residuePointlib/dedis/kyber/group/nist/residue.go

Calls

no outgoing calls

Tested by 1

ElGamalEncryptFunction · 0.52