{"id":62712,"library":"xlzd-gotp","title":"GoTP","description":"A Go library for generating and validating one-time passwords (OTP) using HOTP and TOTP algorithms.","status":"active","version":"0.1.0","language":"go","source_language":null,"source_url":"https://github.com/xlzd/gotp","tags":["otp","totp","hotp","authentication","security"],"install":[{"cmd":"go get github.com/xlzd/gotp","lang":"bash","label":"Install github.com/xlzd/gotp"}],"dependencies":[],"imports":[{"symbol":"gotp","correct":"github.com/xlzd/gotp"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/xlzd/gotp\"\n)\n\nfunc main() {\n\ttotp := gotp.NewDefaultTOTP(\"JBSWY3DPEHPK3PXP\")\n\tfmt.Println(totp.Now())\n}","lang":"go","description":"Generate a TOTP code from a secret."},"warnings":[],"env_vars":null,"search_vec":"'algorithm':18 'authent':22 'generat':6 'go':3 'gotp':1 'hotp':15,21 'librari':4 'one':10 'one-tim':9 'otp':13,19 'password':12 'secur':23 'time':11 'totp':17,20 'use':14 'valid':8","created_at":"2026-06-17T16:34:49.467279+00:00","updated_at":"2026-06-17T16:34:49.467279+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/xlzd/gotp","github":"https://github.com/xlzd/gotp","docs":"https://pkg.go.dev/github.com/xlzd/gotp#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}