소스 검색

Add base64url

master
JustAnotherArchivist 2 년 전
부모
커밋
a14939b069
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      base64url

+ 5
- 0
base64url 파일 보기

@@ -0,0 +1,5 @@
#!/bin/bash
# Like base64 but for the URL-safe alphabet A-Za-z0-9-_ (instead of A-Za-z0-9+/).
# This works by replacing occurrences of - with + and vice-versa, and likewise with _ and /.
# Does not support passing the filename by argument.
tr -- '\-_+/' '+/\-_' | base64 "$@"

불러오는 중...
취소
저장