(load-option 'mcrypt)
(import-mcrypt)
-Import-mcrypt will modify the REPL's current environment by adding
-bindings linked to the plugin's exports. They are not exported to the
-global environment because they would conflict with the deprecated
-exports from (runtime crypto).
+The import-mcrypt procedure will modify the REPL's current environment
+by adding bindings linked to the plugin's exports. They are not
+exported to the global environment because they would conflict with
+the deprecated exports from (runtime crypto).
To import into a CREF package set, add this to your .pkg file:
#| -*-Scheme-*- |#
-;;;; Compile the MCRYPT option.
+;;;; Compile the Mcrypt option.
(load-option 'cref)
(with-working-directory-pathname (directory-pathname (current-load-pathname))
# 2015, 2016, 2017, 2018, 2019 Massachusetts Institute of
# Technology
#
-# This file is part of a mcrypt plugin for MIT/GNU Scheme.
+# This file is part of MIT/GNU Scheme.
#
-# This plugin 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 2 of the License, or
-# (at your option) any later version.
+# MIT/GNU Scheme 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 2 of the
+# License, or (at your option) any later version.
#
-# This plugin is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MIT/GNU Scheme 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 this plugin; if not, write to the Free Software
+# along with MIT/GNU Scheme; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301, USA.
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
-AC_INIT([MIT/GNU Scheme mcrypt plugin],
+AC_INIT([MIT/GNU Scheme Mcrypt plugin],
[1.0],
[bug-mit-scheme@gnu.org],
[mit-scheme-mcrypt])
#| -*-Scheme-*- |#
-;;;; Load the mcrypt option.
+;;;; Load the Mcrypt option.
(with-working-directory-pathname (directory-pathname (current-load-pathname))
(lambda ()
(load-package-set "mcrypt")))
-(add-subsystem-identification! "mcrypt" '(0 2))
\ No newline at end of file
+(add-subsystem-identification! "Mcrypt" '(0 2))
\ No newline at end of file
|#
-;;;; Test the MCRYPT option.
+;;;; Test the Mcrypt option.
(define (random-string length)
(list->string (make-initialized-list length
|#
-;;;; The mcrypt option.
+;;;; The Mcrypt option.
;;; package: (mcrypt)
(declare (usual-integrations))
(define (mcrypt-encrypt-port algorithm mode input output key init-vector
encrypt?)
- ;; Assumes that INPUT is in blocking mode.
+ ;; Assumes that input is in blocking mode.
((port-transformer (lambda ()
(let ((context (mcrypt-open-module algorithm mode)))
(mcrypt-init context key init-vector)
#| -*-Scheme-*- |#
-(define-load-option 'MCRYPT
+(define-load-option 'mcrypt
(standard-system-loader "."))
(further-load-options #t)
\ No newline at end of file