問題タブ [argon2-ffi]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - Botan で Argon2 を使用してハッシュを生成すると、ガベージ データと 0xC0000005: アクセス違反の読み取り場所 0x0000000100000000 が生成されます。
C++ 暗号化ライブラリ Botan を使用してパスワードをハッシュしようとしています。以下のコードを使用してライブラリをテストしてみました。
しかし、コードはガベージ データを出力するか、実行時エラーを発生させました。
Unhandled exception at 0x00007FFEF11825E0 (ucrtbased.dll) in app.exe: 0xC0000005: Access violation reading location 0x0000000100000000.
私は何をすべきか?Botan::generate_bcrypt() などの他のハッシュ方法を使用しても、同じエラーが発生しました。