{"id":19064966,"url":"https://github.com/netkiller/mysql-safenet-plugin","last_synced_at":"2025-09-12T03:44:24.640Z","repository":{"id":8271415,"uuid":"9725477","full_name":"netkiller/mysql-safenet-plugin","owner":"netkiller","description":"SafeNet for MySQL","archived":false,"fork":false,"pushed_at":"2015-03-03T09:48:49.000Z","size":491,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T11:25:11.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://netkiller.github.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"godarklight/DarkMultiPlayer","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netkiller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-28T04:45:08.000Z","updated_at":"2021-11-21T17:07:33.000Z","dependencies_parsed_at":"2022-09-05T15:00:53.034Z","dependency_job_id":null,"html_url":"https://github.com/netkiller/mysql-safenet-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-safenet-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-safenet-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-safenet-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fmysql-safenet-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netkiller","download_url":"https://codeload.github.com/netkiller/mysql-safenet-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251303672,"owners_count":21567734,"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":[],"created_at":"2024-11-09T00:48:04.079Z","updated_at":"2025-04-28T11:25:25.950Z","avatar_url":"https://github.com/netkiller.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"safenet-mysql\n=============\n\nSafeNet for MySQL - http://www.safenet-inc.com/\n\nInstallation Plugin\n------------\n    yum install -y libcurl-devel\n\n    cd src\n    cmake .\n    make \n    make install\n\n    cat \u003e /etc/sysconfig/mysqld \u003c\u003cEOF\n    export SAFENET_URL=http://host.localdomain/safe/interface\n    export SAFENET_KEY=Web01-key\n    EOF\n\nCreate Function\n---------------------\n    create function safenet_encrypt returns string soname 'libsafenet.so';\n    create function safenet_decrypt returns string soname 'libsafenet.so';\n    create function safenet_config returns string soname 'libsafenet.so';\n\nExample\n-------\n    mysql\u003e select safenet_encrypt('Helloworld!!!');\n    +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n    | safenet_encrypt('Helloworld!!!')                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n    +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n    | 994BAB7BC417F0559A09ECE94EDCB695AC1D5705F7ABA9F3562158F5AFAC4720FA9B3E53F30DF65C1726E0F02A93A9CAE7E486349F41AE4F504DC2B49F809C5AF77FEF4DE49D03D8DEC4000B15F2F2A2296500AA6159491E65DEFDFE75FB2E79D31D9BF0CC67932ADA212C34C0B04BF30F222102FAD857F440404C0FE92B8626EA3126B0B5A4FA0B1D09F1CC9EF45EBB6A72123AE82D39F659C717A5AA4F7FB5BDBBC7977C7021F61BBC26B9DB78C9A8657C6BC291CAE5C07F9DF485D71A1E9CC8888793B03BB5AF2DDB57AAEFB6D2EA569226651092414F96BA0880B35B0D8A01A1F7B82C308A2316D07C0FD4E0A298ECB33F4E4EB9F1A1E53760B0BFBE7449 |\n    +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n    1 row in set (0.58 sec)\n\n    mysql\u003e select safenet_decrypt(safenet_encrypt('Helloworld!!!'));\n    +---------------------------------------------------+\n    | safenet_decrypt(safenet_encrypt('Helloworld!!!')) |\n    +---------------------------------------------------+\n    | Helloworld!!!                                     |\n    +---------------------------------------------------+\n    1 row in set (0.31 sec)\n\n\tmysql\u003e select safenet_config();\n\nDrop Function\n-------------\n    drop function safenet_encrypt;\n    drop function safenet_decrypt;\n    drop function safenet_config;\n\n-----\n\nYou also can use make to compile.\n---------------------------------\n    ./configure --prefix=/usr/lib64/mysql --libdir=/usr/lib64/mysql/plugin --with-mysql=/usr/bin/mysql_config\n    make\n    make insall\n\n    cat \u003e /etc/sysconfig/mysqld \u003c\u003cEOF\n    export SAFENET_URL=http://host.localdomain/safe/interface\n    export SAFENET_KEY=Web01-key\n    EOF\n\n    create function safenet_encrypt returns string soname 'safenet.so';\n    create function safenet_decrypt returns string soname 'safenet.so';\n    create function safenet_config returns string soname 'safenet.so';\n\n    drop function safenet_encrypt;\n    drop function safenet_decrypt;\n    drop function safenet_config;\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/netkiller/mysql-safenet-plugin/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fmysql-safenet-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetkiller%2Fmysql-safenet-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fmysql-safenet-plugin/lists"}