mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Run gofmt
This commit is contained in:
parent
deafd6d9b0
commit
00ca2be6a5
19 changed files with 27 additions and 18 deletions
|
|
@ -45,12 +45,16 @@ const defaultPassphraseRounds = 100000
|
|||
|
||||
const exportPrefix = "-----BEGIN MEGOLM SESSION DATA-----\n"
|
||||
const exportSuffix = "-----END MEGOLM SESSION DATA-----\n"
|
||||
|
||||
// Only version 0x01 is currently specified in the spec
|
||||
const exportVersion1 = 0x01
|
||||
|
||||
// The standard for wrapping base64 is 76 bytes
|
||||
const exportLineLengthLimit = 76
|
||||
|
||||
// Byte count for version + salt + iv + number of rounds
|
||||
const exportHeaderLength = 1 + 16 + 16 + 4
|
||||
|
||||
// SHA-256 hash length
|
||||
const exportHashLength = 32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue