https://github.com/jpbede/sa2go
VAG SA2 Seed Key algorithm in Go
https://github.com/jpbede/sa2go
Last synced: about 1 year ago
JSON representation
VAG SA2 Seed Key algorithm in Go
- Host: GitHub
- URL: https://github.com/jpbede/sa2go
- Owner: jpbede
- License: mit
- Created: 2021-04-26T18:23:36.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-13T10:41:34.000Z (about 5 years ago)
- Last Synced: 2025-03-19T00:52:40.721Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# VAG SA2 Seed Key algorithm in Go
SA2 Seed/Key authentication is a mechanism for authorizing test / tool clients with Volkswagen Auto Group control units, usually used to unlock a Programming session to re-flash the control units.
Based on the work of https://github.com/bri3d/sa2_seed_key
## How to use
```go
import "go.bnck.me/sa2"
sa := sa2.New([]byte{0x68, 0x02, 0x81, 0x49, 0x93, 0xa5, 0x5a, 0x55, 0xaa, 0x4a, 0x05, 0x87, 0x81, 0x05, 0x95, 0x26, 0x68, 0x05, 0x82, 0x49, 0x84, 0x5a, 0xa5, 0xaa, 0x55, 0x87, 0x03, 0xf7, 0x80, 0x6a, 0x4c})
result := sa.Execute(0x1a1b1c1d)
```