-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeProposalProposal-AcceptedProposal-CryptoProposal related to crypto packages or other security issuesProposal related to crypto packages or other security issues
Milestone
Description
The x/crypto/cryptobyte package currently supports methods on the Builder and String for adding and reading uint8, uint16, uint24, uint32, and uint64 values. uint48 values are useful when working with protocols such as DTLS, which uses a uint48 value for record sequence numbers.
This proposal involves introducing the two following methods:
func (b *Builder) AddUint48(v uint64)func (s *String) ReadUint48(out *uint64) boolMetadata
Metadata
Assignees
Labels
FrozenDueToAgeProposalProposal-AcceptedProposal-CryptoProposal related to crypto packages or other security issuesProposal related to crypto packages or other security issues