19 lines
417 B
Go
19 lines
417 B
Go
|
|
package notify
|
||
|
|
|
||
|
|
import "b612.me/starcrypto"
|
||
|
|
|
||
|
|
var integrationSharedSecret = []byte("notify-integration-modern-psk")
|
||
|
|
|
||
|
|
func integrationModernPSKOptions() *ModernPSKOptions {
|
||
|
|
return &ModernPSKOptions{
|
||
|
|
Salt: []byte("notify-integration-modern-psk-salt"),
|
||
|
|
AAD: []byte("notify-integration-modern-psk-aad"),
|
||
|
|
Argon2Params: starcrypto.Argon2Params{
|
||
|
|
Time: 1,
|
||
|
|
Memory: 8,
|
||
|
|
Threads: 1,
|
||
|
|
KeyLen: 32,
|
||
|
|
},
|
||
|
|
}
|
||
|
|
}
|