type github.com/gotd/td/internal/crypto.Side
11 uses
github.com/gotd/td/internal/crypto (current package)
cipher.go#L8: encryptSide Side
keys.go#L10: type Side byte
keys.go#L14: Client Side = 0
keys.go#L16: Server Side = 1
keys.go#L20: func (s Side) DecryptSide() Side {
keys.go#L24: func getX(mode Side) int {
keys.go#L39: func msgKeyLarge(r []byte, authKey Key, plaintextPadded []byte, mode Side) []byte {
keys.go#L108: func Keys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
keys.go#L123: func MessageKey(authKey Key, plaintextPadded []byte, mode Side) bin.Int128 {
keys_old.go#L72: func OldKeys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |