{"id":16793528,"url":"https://github.com/mdp/sjcl_rb","last_synced_at":"2025-07-14T21:32:07.833Z","repository":{"id":14670240,"uuid":"17389044","full_name":"mdp/sjcl_rb","owner":"mdp","description":"The SJCL project in Ruby for compatibility","archived":false,"fork":false,"pushed_at":"2019-05-06T16:49:27.000Z","size":42,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-14T08:49:35.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/mdp.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":"2014-03-04T03:23:34.000Z","updated_at":"2019-05-06T16:49:29.000Z","dependencies_parsed_at":"2022-09-23T22:01:12.508Z","dependency_job_id":null,"html_url":"https://github.com/mdp/sjcl_rb","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/mdp%2Fsjcl_rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsjcl_rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsjcl_rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsjcl_rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/sjcl_rb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225998802,"owners_count":17557473,"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-10-13T08:49:33.230Z","updated_at":"2024-11-23T04:14:03.211Z","avatar_url":"https://github.com/mdp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Modern Crypto\n\nNote: It's 2019 and if you're looking for a modern and actively maintained Ruby encryption library you should do yourself a favor and check out [RbNaCl](https://github.com/crypto-rb/rbnacl), which is based on [LibSodium](https://github.com/jedisct1/libsodium). The code below was designed purely for demonstration purposes and should not be used in applications where serious crypto is needed.\n\n## SJCL_rb\n[![Build Status](https://secure.travis-ci.org/mdp/sjcl_rb.png)](http://travis-ci.org/mdp/sjcl_rb)\n\nA demonstration of SJCL AES-CCM in pure Ruby.\n\nDefaults to 256 bit AES in CCM mode with 100_000 iterations PBKDF2\n\n### Usage\n\n    enc = SJCL.encrypt('password', \"Something to encrypt\")\n    dec = SJCL.decrypt('password', enc)\n\n    # Custom number of PBKDF2 iterations\n    enc = SJCL.encrypt('password', \"Something to encrypt\", {:iter =\u003e 10_000})\n\n### Usage\n\n    dec = SJCL.decrypt('password', enc)\n\n### Dev Goals\n\n- Should be 100% compatible with SJCL Javascript library in AES-CCM mode\n- Written in pure ruby\n\n### TODO\n\n- Test interop with node module directly\n\n### Changelog\n\n- 1.0.1\n  - Match comparison fucntion from SJCL js\n  - Include SJCL version in JSON\n  - Better errors thrown\n  - Update docs\n- 1.0.0\n  - Update to use OpenSSL PBKDF2 function for increased speed\n  - Increase default iterations to 100,000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fsjcl_rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fsjcl_rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fsjcl_rb/lists"}