{"id":19099499,"url":"https://github.com/dentrax/obscure-go","last_synced_at":"2026-05-28T02:30:13.900Z","repository":{"id":57541943,"uuid":"285908033","full_name":"Dentrax/obscure-go","owner":"Dentrax","description":"In-memory security with secure data types","archived":false,"fork":false,"pushed_at":"2020-08-20T18:11:00.000Z","size":21,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T01:40:34.694Z","etag":null,"topics":["data-type","in-memory-security","memory-safety","memory-security","obscure","obscure-code"],"latest_commit_sha":null,"homepage":"https://medium.com/trendyol-tech/secure-types-memory-safety-with-go-d3a20aa1e727","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dentrax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-07T19:41:13.000Z","updated_at":"2024-06-12T12:51:01.000Z","dependencies_parsed_at":"2022-09-09T04:11:55.922Z","dependency_job_id":null,"html_url":"https://github.com/Dentrax/obscure-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentrax%2Fobscure-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentrax%2Fobscure-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentrax%2Fobscure-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentrax%2Fobscure-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dentrax","download_url":"https://codeload.github.com/Dentrax/obscure-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240155820,"owners_count":19756745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-type","in-memory-security","memory-safety","memory-security","obscure","obscure-code"],"created_at":"2024-11-09T03:51:00.653Z","updated_at":"2026-05-28T02:30:13.870Z","avatar_url":"https://github.com/Dentrax.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://github.com/Dentrax/obscure-go\"\u003eobscure-go\u003c/a\u003e\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n \u003cstrong\u003e\n   [W.I.P] In-memory secure types framework for Go.\n \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square\" alt=\"MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/Dentrax/obscure-go\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/Dentrax/obscure-go?style=flat-square\" alt=\"Go Report\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Dentrax/obscure-go/actions?workflow=test\"\u003e\u003cimg src=\"https://img.shields.io/github/workflow/status/Dentrax/obscure-go/Test?label=build\u0026logo=github\u0026style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/Dentrax/obscure-go\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/gh/Dentrax/obscure-go?style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Dentrax/obscure-go/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/release/Dentrax/obscure-go.svg?style=flat-square\" alt=\"GitHub release\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n# Supports\n\n\u003e * SecureInteger\n\u003e * SecureString\n\n# Usage\n\n## Importing\n\n```go\nimport (\n\tsecure \"github.com/Dentrax/obscure-go/types\"\n)\n```\n\n## Creating\n\n```go\nsecInt := secure.NewInt(15)\nsecStr := secure.NewString(\"foo\")\n```\n\n## Hack Detecting\n\n```go\n// Importing\nimport (\n\tsecure \"github.com/Dentrax/obscure-go/types\"\n)\n\n// Creating\nw := obs.CreateWatcher(\"watcher\")\n\n// Attaching\nsecInt.AddWatcher(w)\nsecStr.AddWatcher(w)\n```\n\n# Function Interfaces\n\n## Integer\n\n```go\ntype ISecureInt interface {\n\tApply() ISecureInt\n\tAddWatcher(obs obs.Observer)\n\tSetKey(int)\n\tInc() ISecureInt\n\tDec() ISecureInt\n\tSet(int) ISecureInt\n\tGet() int\n\tGetSelf() *SecureInt\n\tDecrypt() int\n\tRandomizeKey()\n\tIsEquals(ISecureInt) bool\n}\n```\n\n## String\n\n```go\ntype ISecureString interface {\n\tApply() ISecureString\n\tAddWatcher(obs obs.Observer)\n\tSetKey(int)\n\tSet(string) ISecureString\n\tGet() string\n\tGetSelf() *SecureString\n\tDecrypt() []rune\n\tRandomizeKey()\n\tIsEquals(ISecureString) bool\n}\n```\n\n# Example\n\n* Non-Secure\n\n```bash\n$ go run ./examples/games/nonsecure/game_nonsecure.go\n```\n\n* Secure\n\n```bash\n$ go run ./examples/games/secure/game_secure.go \n```\n\n# License\n\nThe base project code is licensed under _MIT License_ unless otherwise specified. Please see the **[LICENSE](https://github.com/Dentrax/obscure-go/blob/master/LICENSE)** file for more information.\n\n# Copyright\n\n_obscure-go_ was created by Furkan ([Dentrax](https://github.com/Dentrax))\n\n\u003ckbd\u003eobscure-go\u003c/kbd\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentrax%2Fobscure-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentrax%2Fobscure-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentrax%2Fobscure-go/lists"}