{"id":13801412,"url":"https://github.com/jmcardon/tsec","last_synced_at":"2025-05-13T11:31:16.377Z","repository":{"id":45933859,"uuid":"99377204","full_name":"jmcardon/tsec","owner":"jmcardon","description":"Type-safe general-cryptography library - https://jmcardon.github.io/tsec/","archived":true,"fork":false,"pushed_at":"2021-11-26T17:57:19.000Z","size":3119,"stargazers_count":351,"open_issues_count":65,"forks_count":58,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-26T21:19:27.961Z","etag":null,"topics":["cryptography","functional-programming","jca","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/jmcardon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-04T20:25:11.000Z","updated_at":"2025-01-02T14:35:57.000Z","dependencies_parsed_at":"2022-09-14T21:50:22.262Z","dependency_job_id":null,"html_url":"https://github.com/jmcardon/tsec","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcardon%2Ftsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcardon%2Ftsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcardon%2Ftsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcardon%2Ftsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmcardon","download_url":"https://codeload.github.com/jmcardon/tsec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253932832,"owners_count":21986458,"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":["cryptography","functional-programming","jca","scala"],"created_at":"2024-08-04T00:01:22.578Z","updated_at":"2025-05-13T11:31:11.364Z","avatar_url":"https://github.com/jmcardon.png","language":"Scala","funding_links":[],"categories":["Table of Contents","Frameworks and Libs","Cryptography"],"sub_categories":["Cryptography","Scala"],"readme":"```\n________________________________________  \n\\__    ___/   _____/\\_   _____/\\_   ___ \\ \n  |    |  \\_____  \\  |    __)_ /    \\  \\/ \n  |    |  /        \\ |        \\\\     \\____\n  |____| /_______  //_______  / \\______  /\n                 \\/         \\/         \\/ \n```\n# [TSEC: A type-safe, functional, general purpose security and cryptography library.](https://jmcardon.github.io/tsec/)\n\n[![Join the chat at https://gitter.im/tsecc/Lobby](https://badges.gitter.im/tsecc/Lobby.svg)](https://gitter.im/tsecc/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build Status](https://travis-ci.org/jmcardon/tsec.svg?branch=master)](https://travis-ci.org/jmcardon/tsec)\n[ ![Latest Version](https://maven-badges.herokuapp.com/maven-central/io.github.jmcardon/tsec-common_2.12/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A\"io.github.jmcardon\"%20tsec)\n\n\n### Latest Release: 0.0.1-M11\n\nFor the current progress, please refer to the [RoadMap](https://github.com/jmcardon/tsec/wiki)\n\nFor version changes and additions, including breaking changes, see either [release notes](https://github.com/jmcardon/tsec/releases)\nor the [Version Changes](https://github.com/jmcardon/tsec/wiki/Version-Changes) page.\n\n## Note about using Windows￼™® with tsec\n\nWindows™® is not supported.\n\nFeel free to fork the project and add your own windows support.\n\n\n### Note on milestones:\nOur Notation for versions is:\n```\nX.X.X\n^ ^ ^____Minor\n| |______Major\n|________Complete redesign (i.e scalaz 7 vs 8)  \n```\n\nAll `x.x.x-Mx` releases are milestone releases. Thus, we do not guarantee binary compatibility or no api-breakage until\na concrete version(i.e `0.0.1`). We aim to keep userland-apis relatively stable, but \ninternals shift as we find better/more performant abstractions.\n\nWe will guarantee compatibility between minor versions (i.e 0.0.1 =\u003e 0.0.2) but not major versions (0.0.1 =\u003e 0.1.0)\n\n0.0.1-M11 is here for scala 2.12+ and Cats 1.0.1!\n\nTo get started, if you are on sbt 0.13.16+, add\n\n\n| Name                  | Description                                              | Examples |\n| -----                 | ----------                                               | -------- |\n| tsec-common           | Common crypto utilities                                  |          |\n| tsec-password         | Password hashers: BCrypt and Scrypt                      | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/PasswordHashingExamples.scala)|\n| tsec-cipher-jca       | Symmetric encryption utilities                           | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/SymmetricCipherExamples.scala)|\n| tsec-cipher-bouncy    | Symmetric encryption utilities                           | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/SymmetricCipherExamples.scala)|\n| tsec-mac              | Message Authentication                                   | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/MacExamples.scala)|\n| tsec-signatures       | Digital signatures                                       | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/SignatureExamples.scala)|\n| tsec-hash-jca         | Message Digests (Hashing)                                | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/MessageDigestExamples.scala)|\n| tsec-hash-bouncy      | Message Digests (Hashing)                                | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/MessageDigestExamples.scala)|\n| tsec-libsodium        | Nicely-typed Libsodium JNI bridge                        | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/MessageDigestExamples.scala)|\n| tsec-jwt-mac          | JWT implementation for Message Authentication signatures | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/JWTMacExamples.scala)|\n| tsec-jwt-sig          | JWT implementation for Digital signatures                | [here](https://github.com/jmcardon/tsec/blob/master/examples/src/main/scala/JWTSignatureExamples.scala)|\n| tsec-http4s           | Http4s Request Authentication and Authorization          | [here](https://github.com/jmcardon/tsec/tree/master/examples/src/main/scala/http4sExamples)|\n\nTo include any of these packages in your project use:\n\n```scala\nval tsecV = \"0.0.1-M11\"\n libraryDependencies ++= Seq(\n \"io.github.jmcardon\" %% \"tsec-common\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-password\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-cipher-jca\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-cipher-bouncy\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-mac\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-signatures\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-hash-jca\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-hash-bouncy\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-libsodium\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-jwt-mac\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-jwt-sig\" % tsecV,\n \"io.github.jmcardon\" %% \"tsec-http4s\" % tsecV\n)\n```\n\n## Note on contributing\n\nSee CONTRIBUTING.md\n \n## A note on logging\nWe use `log4s` which is a logging facade over [SLF4J](https://www.slf4j.org/). This implies you need to add a\n_binding_ to your classpath. Check https://www.slf4j.org/codes.html#StaticLoggerBinder\n \n## Big Thank you to our contributors (direct or indirect):\n[Robert Soeldner](https://github.com/rsoeldner) (Contributor/Maintainer)\n\n[Christopher Davenport](https://github.com/ChristopherDavenport)(Contributor/Maintainer)\n\n[Harrison Houghton](https://github.com/hrhino)(Contributor/Maintainer)\n\n[Bjørn Madsen](https://github.com/aeons) (Contributor)\n\n[André Rouél](https://github.com/before)(Contributor)\n\n[Edmund Noble](https://github.com/edmundnoble) (For the dank tagless)\n\n[Fabio Labella](https://github.com/systemfw) (For the great FP help)\n\n[Will Sargent](https://github.com/wsargent) (Security Discussions)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcardon%2Ftsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmcardon%2Ftsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcardon%2Ftsec/lists"}