![]() ![]() func (p *Protocol) Encrypt(keyRing string, data byte) (ciphertext string, err error).func (p *Protocol) Decrypt(keyRing string, ciphertext string) (data byte, err error).func (p *Protocol) CreateSignKey(keyRing string) (publicKey byte, err error).func NewProtocol(keyPools mapKeyPool) *Protocol.func WrapDVXAsKeyPool(dvx Primitive, rootKey byte, log logger.Logger) KeyPool.func (d DV1) Verify(publicKey byte, message byte, signature byte) (valid bool, err error).func (d DV1) Sign(privateKey byte, message byte) (signature byte, err error).func (d DV1) MAC512(key byte, message byte) (tag byte, err error).func (d DV1) MAC256(key byte, message byte) (tag byte, err error).func (d DV1) KDF512(password byte, salt byte) (key byte, err error).func (d DV1) Encrypt(key byte, data byte) (cipher byte, err error).func (d DV1) Decrypt(key byte, cipher byte) (data byte, err error).func Encode(typePrefix TypePrefix, data byte) string.func DecodeExpect(s string, expected TypePrefix) (version string, data byte, err error).PKCS#11) or as an alternative be held in a protected RAM section.ĭvx has an easy-to-use interface and clear separation (boundaries) of ![]() This root secret can live inside a hardware-security-module (HSM via Supported operations: Encryption/Decryption, Signing/Verifying, MAC, and asĪ special higher-order algorithm: TOTP Creation/Verification.ĭvx doesn't need any storage, as it derives all internal keys from a root Package dvx provides an easy-to-use interface to a Cryptography service, Key Derivation: Argon2id (512-bit derived key)Ī few links and resources that should explain why the selected primitives where chosen for dv1.Signatures: Ed25519 (EdDSA over Curve25519).Use AEAD construction with key, nonce, message, additional_data.Pack "dv1" version string and nonce into AEAD-additional data ( append(byte("dv1"), nonce.)).Generate 24 random bytes using a CSPRNG as nonce.Authenticated Encryption: XChaCha20-Poly1305 (192-bit random nonce, 256-bit key, 128-bit authentication tag).encrypted content, signature, mac tag, etc.) represented as base64 url string without padding append ("Raw" encoding). TypePrefix: Is the identifier of the module used: "enc", "sig", "tag" or "totp".Version: Is the version of the underlying primitives and the way how keys are derived from the KeyPool for there respective primitives.It therefore introduces its packaging format for results from a dvx.Protocol instance. (See the picture of the complete architecture here) Specification Encodingĭvx has built-in support for upgrading the underlying cryptographic primitives used. It provides 4 main categories of supported operations: Encryption/Decryption, Signing/Verifying, MAC, and as a special higher-order algorithm: TOTP Creation/Verification. You can configure this to your own value if you prefer to.Package dvx provides an easy-to-use interface to a Cryptography service, that uses state-of-the-art primitives. When you activate the app, DevUtils will inspect your clipboard content and automatically select the UNIX Timestamp Converter if the content is a valid UNIX Timestamp that falls within a certain range.īy default, the range is 946684799-32503593600, corresponding to the first second of the year 2000 to the last second of the year 3000. Whether the year is a leap year or not.The UNIX time format: for when the input is in ISO format.The relative time compares to the current time (e.g., 3sec ago).The datetime rendered as local time in human-friendly format.If the input is valid, the following information will be returned in the output: You can also use the “Now” button to set the current timestamp, which is very convenient when you need to grab the current timestamp as a string. The tool also tries to parse the input using popular formats like yyyy/mm/dd when possible.Standard UNIX timestamp (seconds since epoch).The input can be in the following format: Select text ► Right-click ► “Inspect in DevUtils.app” (This menu appears after you install the app).Copy text ► Click to icon in the status bar.Copy text ► Press ⌃⌥⌘Space (Or your own customized hotkey, up to you).You can convert timestamps from anywhere in your macOS (terminal, in email, web browser,…). □ Download | □ Demo & Screenshots | □ View source Convert UNIX timestamp You can also inspect more information from the datetime like relative time (e.g., xx minutes ago), ISO formatted string, or check the current date of the week, week of the year, etc… DevUtils.app allows you to quickly turn a UNIX Timestamp into a human-friendly format. Convert UNIX Timestamp to a human-friendly format without online tools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |