GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - joy-framework/codec: encode/decode library for janet

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
base64.c
base64.c
 
 
base64.h
base64.h
 
 
codec.c
codec.c
 
 
picohash.h
picohash.h
 
 
project.janet
project.janet
 
 

Repository files navigation

codec

encode/decode library for janet

Install

Add to your project.janet file

{:dependencies ["https://github.com/joy-framework/codec"]}

Use

(import codec)

(= "hello there!" (codec/decode (codec/encode "hello there!")))

HMAC Hex Digests

Codec can also perform sha1 hmac digests on strings

(import codec)

(codec/hmac-sha1 "secret token" "hello world")

This should be equivalent to the following ruby code:

OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha1'), 'secret token', 'hello world')

About

encode/decode library for janet

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.