hack のためのネタ帳, etc,,,

タグ検索でhash8件見つかりました。

PowerShell

rshell -Command "&{$hasher=[Security.Cryptography.SHA256]::Create();foreach($fn in $Args){$hash=$hasher.ComputeHash([IO.File]::ReadAllBytes($fn));$hex=\"\";foreach($c in $hash){$hex+=($c).ToString(\"x2\")}echo \"$hex $fn\"}}" FILES ... ||= なお「FILES ...」 の…

https://seesaawiki.jp/w/kou1okada/d/PowerShell... - 2022年03月11日更新

20211018: git - commit hash 値で shallow clone

で特定の commit を SHA-1 hash 値による直接指定で shallow clone (git clone --depth 1) したい。 ところが git clone には branch や tag を指定するオプションはあるが、生のハッシュ値を指定するオプションがない。 * 解法 「[[git clone commithash shallow>https://google.com/search?q=git+clone+commithash+shallow]]」とかでググってみたとこ…

https://seesaawiki.jp/w/kou1okada/d/20211018%3a%20... - 2021年10月21日更新

20210419: FCVI が行方不明

rtutil]] 以下のようにすると hash 値が得られる。 =|| certutil -hashfile [{MD2|MD4|MD5|SHA1(default)|SHA256|SHA384|SHA512}] ||= ヘルプは =|| certutil -hashfile -? ||= 例 =|| $ echo -n a >a ||= =|| $ certutil -hashfile a SHA1 ハッシュ (対象 a): 86f7e437faa5a7fce15d1ddcb9eaeaea37…

https://seesaawiki.jp/w/kou1okada/d/20210419%3a%20... - 2021年04月19日更新

SHA-3

d-permutation-based-hash-and-extendable-output-functions]] (Federal Inf. Process. Stds. (NIST FIPS) - 202), [[DOI:10.6028/NIST.FIPS.202>https://doi.org/10.6028/NIST.FIPS.202]] * 参考になるページ等 - Google: [[SHA-3>https://google.com/#q=SHA-3]], [[KECCAK>…

https://seesaawiki.jp/w/kou1okada/d/SHA%2d3... - 2020年11月12日更新

20200402: C++ でメッセージダイジェストを求める

=|CPP| std::string hash2str(unsigned char *hash, const size_t &len) { std::stringstream ss; ss (hash[i]); } return ss.str(); } ||= 各ダイジェスト =|CPP| template std::string md5(const T *data, const size_t &n) { unsigned char hash[MD5_DIGEST_LENGTH];…

https://seesaawiki.jp/w/kou1okada/d/20200402%3a%20... - 2020年04月02日更新

Crypto++

C++ 用の crypt 関連の処理をまとめたライブラリ。 一通り揃ってる感じ。 Wei Dai って方が取りまとめされてる模様。 ** ライセンス public domain と言ってるけど、copyright 付けろとか、いろいろ BSD っぽい条件みたいなのが付いてる模様。 詳細は [[License.txt>http://www.cryptopp.com/License.txt]] 参照。 ** 公式ページ等 - [[Crypto++>http://www.cryptopp.co…

https://seesaawiki.jp/w/kou1okada/d/Crypto%2b%2b... - 2013年05月24日更新

security

08_340959.html]] -- hash 調べてホワイトリストと照合してくれる -- ライトプロテクト付きの USB に突っ込んでおくと吉 - [[Trend Micro HouseCall>http://jp.trendmicro.com/jp/tools/housecall/index.html]] -- [[トレンドマイクロ、無償のウイルス検出ソフト「Trend Micro HouseCall」を公開>http://www.forest.impress.co.jp/docs/n…

https://seesaawiki.jp/w/kou1okada/d/security... - 2019年06月13日更新

BLAKE2

LAKE2 - fast secure hashing>https://blake2.net/]] * ports - github / strawbrary / [[php-blake2>https://github.com/strawbrary/php-blake2]] * 参考になるページ等 - SOURCEFORGE.JP Magazine / 2012-12-26: [[MD5やSHAの代替として利用可能な新たなハッシュ化技術「BLAKE2」登場>http://source…

https://seesaawiki.jp/w/kou1okada/d/BLAKE2... - 2013年04月01日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(765) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(118) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(462) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(23) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(397) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(28) windows(126) windows10(50) wsl(26) zfs(32) 数式(21)

管理人/副管理人のみ編集できます