website logo
WebsiteTry DashboardContact Sales
⌘K
πŸ‘‹Welcome to mintBlue!
❓Why Use mintBlue?
🧧mintBlue Products
⛓️Enterprise Bitcoin
πŸš€Introduction
πŸ‘‰mintBlue Quick Start Guide
πŸ”—Setting up Zapier & mintBlue
πŸŽ‡mintBlue SDK
πŸ‘‰SDK Quick Start Guide
πŸ—οΈSDK Encryption
πŸ“©Envelopes
πŸ–₯️SDK Server
πŸ“SDK Scripts
πŸ“–mintBlue API
⏹️Blockchain API
πŸ“‘Token API
πŸ–₯️mintBlue Console
πŸ‘‚Event Listeners
πŸ†Examples of Building with mintBlue
πŸ”‘password manager
πŸ“ƒNotary Express App
Docs powered byΒ archbeeΒ 
2min

Envelope Format

Version 0

Field

Size

Offset

Description

Version

1

0

Version of the pigi file format. This defines the rest of the fields

Algorithm

1

1

A single-byte to signal which algorithms are used

File ID

32

2

The SHA256 of the original file

Length

4

34

The length of the Payload field (uint32 big endian)

IV

16

38

The Initialization Vector

Payload

Value(Length)

54

The encrypted and compressed payload

ο»Ώ

The Pigi file format version 0 can be defined using the restructure Node.js library as follows:

JS
|
ο»Ώ

ο»Ώ

Updated 08 Feb 2023
Did this page help you?
Yes
No
UP NEXT
Algorithms
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Version 0