;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Nikita Karetnikov ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-base64) #:use-module (guix base64) #:use-module (rnrs bytevectors) #:use-module (srfi srfi-64)) (define (string->base64 str) (base64-encode (string->utf8 str))) ;;; Test vectors from . (test-begin "base64") (test-equal "empty string" (string->base64 "") "") (test-equal "f" (string->base64 "f") "Zg==") (test-equal "fo" (string->base64 "fo") "Zm8=") (test-equal "foo" (string->base64 "foo") "Zm9v") (test-equal "foob" (string->base64 "foob") "Zm9vYg==") (test-equal "fooba" (string->base64 "fooba") "Zm9vYmE=") (test-equal "foobar" (string->base64 "foobar") "Zm9vYmFy") (test-end "base64")a2079594f8049447c09af21e27d977bafe2c92d'>diff
AgeCommit message (Expand)Author
2022-01-13gnu: tigervnc-{client,server}: Update to 1.12.0-0.b484c22.Tobias Geerinckx-Rice
2021-12-29gnu: remmina: Update to 1.4.23.Tobias Geerinckx-Rice
2021-12-17gnu: remmina: Remove input labels.Tobias Geerinckx-Rice
2021-12-17gnu: remmina: Update to 1.4.22.Tobias Geerinckx-Rice
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
2021-12-12gnu: remmina: Build with libsoup 2.Ricardo Wurmus
2021-11-11gnu: gtk: Replace gdk-pixbuf+svg by librsvg.Maxim Cournoyer
2021-10-31gnu: remmina: Update to 1.4.21.Tobias Geerinckx-Rice
2021-09-05gnu: remmina: Update to 1.4.20.Raghav Gururajan
2021-07-04gnu: tigervnc-server: Remove unnecessary "gcc-toolchain" input.Ludovic Courtès
2021-07-01gnu: remmina: Update to 1.4.19.Tobias Geerinckx-Rice
2021-06-03gnu: remmina: Update to 1.4.18.Raghav Gururajan
2021-05-29gnu: remmina: Update to 1.4.17.Tobias Geerinckx-Rice
2021-05-11gnu: Add remmina.Raghav Gururajan