https://github.com/beemdevelopment/Aegis/blob/master/docs/vault.md

Unencrypted Aegis JSON: {version:1, header:{slots:null, params:null}, db:{DB}}
Encrypted Aegis JSON: {version:1, header:{slots:[SLOT], params:{nonce:, tag}}, db:{DB}}

{SLOT0}: {type:0, uuid:, key:, key_params:{nonce:, tag:}}
{SLOT1}: {type:1, uuid:, key:, key_params:{nonce:, tag:}, n:32768, r:8, p:1, salt:, repaired:BOOL, is_backup:BOOL}

{DB2}: {version:2, entries:[ENTRY2]}
ENTRY2: {type:"totp", uuid:"8-4-4-12", name:, issuer:, icon:, info:{INFO}}

{DB3}: {version:3, entries:[ENTRY3], groups:[]}
ENTRY3: {type:"TYPE", uuid:"8-4-4-12", name:, issuer:, note:, icon:, icon_mime:, icon_hash:, favorite:BOOL, info:{INFO}, groups:[GROUP]}

TYPE:hotp/totp/steam/motp/yandex
BOOL:false/true
{INFO}: {secret:, algo:"ALGO", digits:6, period:30}
ALGO: SHA1/SHA256/SHA512
GROUP: {uuid:, name:}

{
	"version": 1,
	"header": {
		"slots": null,
		"params": null
	},
	"db": {
		"version": 3,
		"entries": [
			{
				"type": "totp",
				"uuid": "ab8d53d7-0b70-42ea-ac3a-04bd4e2009b1",
				"name": "Wise.com",
				"issuer": "Wise.com",
				"note": "",
				"favorite": false,
				"icon": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPg0KICAgPGNpcmNsZS
BjeD0iNTEyIiBjeT0iNTEyIiByPSI1MTIiIHN0eWxlPSJmaWxsOiM5ZmU4NzAiLz4NCiAgIDxwYXRoIGQ9Ik00MDMuOTkgNDMzLjIxIDI3Ni44NSA1ODEuNzloMjI3LjAxbDI1LjUyLTcwLjA3aC05Ny4yN0w0OTEuNTYgNDQzbC4xOS0xLjg0LTM4LjY2LTY2LjUyaDE3My44N0w0OTIuMTcgNzQ1LjVoOTIuMjNsMTYyLjc1LTQ0N0gzMjYuNjdsNzcuMjkgMTM0LjcxaC4wM3oiLz4NCjwvc3ZnPg0K",
				"icon_mime": "image\/svg+xml",
				"icon_hash": "cd0650cbad0bcf3f8ec33396c0d7783b0b9a27e719c0335bdb9f060dc3f41e54",
				"info": {
					"secret": "GLNSQHO5WXAL4BQ3EEJNPINVYG27N225",
					"algo": "SHA1",
					"digits": 6,
					"period": 30
				},
				"groups": []
			}, ...
		],
		"groups": []
	}
}
