base64_encode

文字列を Base64 エンコード

base64_encode "text"

(プラグイン / モジュール : iron_hash.hsp)

解説

refstr に Base64 文字列を返します。

例:
  base64_encode "Hello, World!"
  mes refstr
  ; → SGVsbG8sIFdvcmxkIQ==

サンプル逆引き (2)

sample_cam_ai.hsp
sample_hash.hsp

情報

プラグイン / モジュールiron_hash.hsp
バージョン1.0
作成日2026-04-13
著作者IronHSP / iron_hash
URLhttps://github.com/inovia/IronHSP
備考iron_hash.hsp は Win32 BCrypt (CNG) と CryptStringToBinary /
CryptBinaryToString を使った 1 行 ハッシュ + Base64 ラッパです。

#include "iron_hash.hsp"

サポート:
MD5, SHA-1, SHA-256, SHA-384, SHA-512
Base64 encode / decode
タイプ拡張命令
グループiron_hash ― Base64
対応環境
  • その他 : Win32 / Win64
hs ファイルhsphelp\iron_hash.hs