並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 48件

新着順 人気順

hashの検索結果1 - 40 件 / 48件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

hashに関するエントリは48件あります。 rubysecurityprogramming などが関連タグです。 人気エントリには 『Berkeley DB (Hash) の実装 - knqyf263's blog』などがあります。
  • Berkeley DB (Hash) の実装 - knqyf263's blog

    普段あまりこういう誰の役に立つのか分からない記事は書かないのですが、解析をするまでの背景がOSSに関するとても良い話なので重い腰を上げて書きました。 概要 古のアプリケーション組み込み型のデータベースとしてBerkeley DBがあります。元々はカリフォルニア大学バークレー校によって開発され、その後Oracleによって買収されています。データ操作にSQLは使えず、アプリケーションに埋め込んで使用します。RDBまでは必要ないけどちょっとしたDBが必要みたいな時に使われているようです。機能はシンプルで組み込みのため性能も良いとのこと。詳しくは以下に書いてます。 docs.oracle.com 本記事ではそのBerkeley DBの中身がどのように実装されているのかの雰囲気を記します。Berkeley DBはBtree accessやHash access, Queue/Recno access

      Berkeley DB (Hash) の実装 - knqyf263's blog
    • Rubyアンチパターン: なんでもHash

      ソフトウェアの内部では、データを様々な形に加工しつつ、あちこちに受け渡して再利用します。そのためのデータ構造として、RubyではHashクラスのオブジェクト(他の言語ではMapだったりDictionaryだったり連想配列だったりします)を使うことはよくあります。 単体の数値や文字列ではなく、それらを組み合わせたデータを扱う際には、Hashオブジェクトが便利です。 しかし、あらゆる場面でHashを駆使しようとすると、利便性よりも弊害が大きくなります。 典型的な症状 あちこちで同じだったりちょっと違ったりするHashオブジェクトを引き回していたりします インスタンス変数が少なく(あるいはまったくなく)、その代わりとしてメソッド引数のHashオブジェクトにいろんなデータを渡していたりします 1つのHashオブジェクトのキーとして、文字列やシンボル、さらにはそれ以外のクラスのオブジェクトが使われて

        Rubyアンチパターン: なんでもHash
      • MySQL :: Hash join in MySQL 8

        The build phase The literature usually divides hash join in two phases; the build phase and the probe phase. In the build phase, the server builds an in-memory hash table where rows from one of the inputs are stored, using the join attribute(s) as the hash table key. This input is also known as the build input, and let us assume that ‘countries’ is designated as the build input. Ideally, the serve

        • Swisstable Hash に使われているビット演算の魔術 - methaneのブログ

          Googleが開発したSwisstableと呼ばれるハッシュテーブル実装がAbseilとして公開されて、Rustの標準のHashMap実装にもその移植であるhashbrownが採用されました。 Swisstable の面白いところは、8または16要素をグループ化して、グループ内の各要素のハッシュ値のうち7bitをそれぞれ1byteに格納した8または16バイトの配列を作り、その配列に対して一気に並列でマッチングを行うことです。 この並列マッチングにはSSE2もしくはビット演算が使われます。この記事ではこの並列マッチング部分について解説します。 SSE2を使う場合 SSE2を使う場合は、グループのサイズは16になります。ハッシュ値を格納する配列のことを control と呼ぶことにすると、 control は char control[16] になります。control の各バイトの状態は次の

            Swisstable Hash に使われているビット演算の魔術 - methaneのブログ
          • Implementing Hash Tables in C

            NOTE(s): The article is in “draft” status. The content was originally written in 2017. The intended audience for this article is undergrad students or seasoned developers who want to refresh their knowledge on the subject. The reader should already be familiar with C (pointers, pointer functions, macros, memory management) and basic data structures knowledge (e.g., arrays, linked lists, and binary

            • MatzにrejectされたES6風HashリテラルをこっそりRubyで使う

              ES6風Hashリテラルとは ここで言う「ES6風Hashリテラル」というのは、ES6(ES2015)でobject property shorthandとして導入された省略記法です。 最近のJavaScriptを使っている人なら見慣れた記法ですね。Rubyでもこういう風に書けると便利そう、と思う人はもちろんいるわけで、この記法を取り入れるべく過去にもbugs.ruby-lang.orgで提案がありました。が、残念ながら今のところrejectされたままです。 Feature #11105 ES6-like hash literals https://bugs.ruby-lang.org/issues/11105 Feature #15236 add support for hash shorthand https://bugs.ruby-lang.org/issues/15236 似た記法

                MatzにrejectされたES6風HashリテラルをこっそりRubyで使う
              • Search for Hash keys (CACAO Test)

                検索結果 日付・時間帯はいずれも日本標準時(JST)です。 (最終更新日時:2022/05/03 10:29) 注意事項 (必ずお読みください)使い方、HASH値および日付の計算方法詳細についてはこちらをご参照ください。 厚労省のFAQによると、「一致したキー」は1メートル以内で15分以上という判定基準よりも広範な、OSが検知したすべての陽性者との接触情報を表示しているものです。それを考慮して対応をご検討ください。 データの取り扱いについて 本Webサイトの検索窓に入力されたデータ(数値)は、ご利用のパソコン・スマホ上でのみ処理され、その入力および検索結果はサーバ側へ送信されません。 したがって、その入力および検索結果がサーバ側にデータとして残る心配は一切ありませんので、安心してご利用ください。 以前の出力表記が間違えており、9時間のずれがありました。お詫びとともに訂正させていただきます。

                • GitHub - BLAKE3-team/BLAKE3: the official Rust and C implementations of the BLAKE3 cryptographic hash function

                  BLAKE3 is a cryptographic hash function that is: Much faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2. Secure, unlike MD5 and SHA-1. And secure against length extension, unlike SHA-2. Highly parallelizable across any number of threads and SIMD lanes, because it's a Merkle tree on the inside. Capable of verified streaming and incremental updates, again because it's a Merkle tree. A PRF, MAC, KDF,

                    GitHub - BLAKE3-team/BLAKE3: the official Rust and C implementations of the BLAKE3 cryptographic hash function
                  • GitHub - in3rsha/sha256-animation: Animation of the SHA-256 hash function in your terminal.

                    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

                      GitHub - in3rsha/sha256-animation: Animation of the SHA-256 hash function in your terminal.
                    • A new hash algorithm for Git [LWN.net]

                      Benefits for LWN subscribersThe primary benefit from subscribing to LWN is helping to keep us publishing, but, beyond that, subscribers get immediate access to all site content and access to a number of extra site features. Please sign up today! The Git source-code management system is famously built on the SHA‑1 hashing algorithm, which has become an increasingly weak foundation over the years. S

                      • MySQL 8.0.20 でHASH JOINが効くケースが拡大した - mita2 database life

                        TLDR; MySQL 8.0.20 から INNER JOIN だけじゃなくて、Semi joinや Left/Right outer join でも HASH JOIN が使えるようになったよ MySQL 8.0.20 では (EXPLAIN ANALYZEではなく)EXPLAIN でも、HASH JOINが使われているか、表示されるようになったよ MySQL 8.0.19 から、optimizer_switch で HASH JOIN の OFF/ON がコントロールできなくなったよ MySQL 8.0.20 Release Note Hash joins are now used any time a nested block loop would be employed. This means that hash joins can be used for the followi

                          MySQL 8.0.20 でHASH JOINが効くケースが拡大した - mita2 database life
                        • 解明!password_hash関数で生成される文字列の正体 - Innovator Japan Engineers’ Blog

                          こんにちは、CTOの山岡(@hiro_y)です。 (この記事は、来る2022年4月9日から開催されるPHPerKaigi 2022に登壇応募したものの選出されなかった題材をブログに書くことで供養しようという試みです。) Webシステムでパスワードを保存するとき、そのままの値(平文)で保存してはいけません。データベースの中身が何かしらのインシデントで漏洩してしまった場合、パスワードの内容が明らかになってしまうからです(漏洩の時点でもっと酷い事態になっていそうではありますが…)。では、どのような対策を行えばよいのでしょうか。 パスワードはハッシュ化しよう 一つ目の対策は、パスワードを秘密鍵を使って暗号化、保存する方法です。 その場合、それぞれの暗号化に共通の秘密鍵を使わないことが大切です。また、初期化ベクトル(IV)としてそれぞれ異なるものを用意、ブロック暗号化モードを利用して暗号化した結果が

                            解明!password_hash関数で生成される文字列の正体 - Innovator Japan Engineers’ Blog
                          • Hashの値の省略記法 - NaCl Blog

                            NaClの前田です。 Ruby Advent Calendar 2021の20日目の記事です。昨日は@getty104さんでした。 今回はRuby 3.1にするっと入ってしまったHashの値の省略記法を紹介します。 導入の経緯 最初の提案のきっかけは、何かでES6のenhanced object literalsを知って、2015年にFeature #11105 ES6-like hash literalsというチケットを作成したことでした。 この提案は、 {x, y} が {x: x, y: y} とみなされるというもので、ES6と同じ記法です。 ただ、HashというよりSetに見えるという理由で却下されました。私自身、すごくほしいというよりは「実装できたから提案してみるか」という感じだったので、あまりがんばって説得しなかった気がします。 次の提案は2018年のFeature #1457

                            • Instant Neural Graphics Primitives with a Multiresolution Hash Encoding

                              Neural gigapixel images Neural SDF NeRF Neural volume We demonstrate near-instant training of neural graphics primitives on a single GPU for multiple tasks. In gigapixel image we represent an image by a neural network. SDF learns a signed distance function in 3D space whose zero level-set represents a 2D surface. NeRF [Mildenhall et al. 2020] uses 2D images and their camera poses to reconstruct a

                                Instant Neural Graphics Primitives with a Multiresolution Hash Encoding
                              • HASH - a workspace for structured knowledge.

                                Unlike static documents, knowledge graphs capture relationships in a structured format. By creating entities - like people, products, books, and concepts - connected by relationships, you're able to build powerful systems for insight. Structured knowledge can show you the bigger picture, answer complex questions, and display your data in multiple ways. With HASH you can create entities and relatio

                                  HASH - a workspace for structured knowledge.
                                • Ruby's Hash is a Swiss-Army Knife

                                  Think of the hash as a function whose input is a key, and output is the data or the value stored for that key. A different way to think of a Hash as a chest with drawers that have a unique label (key) on them, and can store files (values). Whenever you need a file (value), just open the drawer with proper label. drawersNow, a drawer can't have duplicate labels, right? How would you know which draw

                                    Ruby's Hash is a Swiss-Army Knife
                                  • Rust で実装する Average Hash を使った類似画像検索 - Qiita

                                    こんにちは pon です。今日はRustで類似画像検知の実装方法を紹介します。 類似画像検知には様々な方法がありますが、今回は基礎的なアルゴリズムである Average Hash を使った類似画像判定を実装を紹介します。 実際に僕が作った個人サービスでも連写で取られた写真かどうかを判定する箇所で同じアルゴリズムが動いています。 筆者はRust初心者なのでもっと良い書き方や実装があれば教えてください! Average Hash とは 下記のような処理で画像をハッシュ化します。 上記のように画像を0と1だけの一次元配列に変換できれば、あとは0と1が一致している数が多いほど似ていると判断します。かなりシンプルなアルゴリズムですが、それなりに精度が出ます。連写で撮影された画像の判定なんかでは十分な精度が出ます。 下記の画像なんかは簡単に類似画像と判断できます。 Rust で類似画像検索を実装する

                                      Rust で実装する Average Hash を使った類似画像検索 - Qiita
                                    • GitHub - openCACAO/cocoa-ios-date-identification: iOSの接触日が特定できない不具合に対応するためHASH値より日にちを特定するプログラムです。

                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                        GitHub - openCACAO/cocoa-ios-date-identification: iOSの接触日が特定できない不具合に対応するためHASH値より日にちを特定するプログラムです。
                                      • Netlink IPCを使ってLinuxカーネルのネットワーク情報にアクセスする - Hash λ Bye

                                        背景 Linux networkingには下記のような様々な構成要素があります。 ネットワークデバイス 経路テーブル フィルタ etc. これらを操作する必要がある場合、一般的には iproute2 などのコマンドラインツールから操作を行うことが多いかと思います。 しかしOpenStackやKubernetesなどの大規模なクラスタを管理する環境では、複数ホストにまたがってネットワークを動的にかつ一貫した方法で構成することが求められます。 こうしたニーズを実現するために、Linux networkingの構成要素を自作のプログラムから直接制御することが最も効率的な場合があります。 NetlinkというLinuxのサブシステムはLinuxカーネル内のネットワーク関連リソースを制御します。このNetlinkサブシステムを活用することでネットワーク管理を自動化することができます。 概要 Netl

                                          Netlink IPCを使ってLinuxカーネルのネットワーク情報にアクセスする - Hash λ Bye
                                        • GitHub - corkami/collisions: Hash collisions and exploitations

                                          Q: Is it possible to make a file get an arbitrary MD2/MD4/MD5/MD6/SHA1/SHA2/SHA3, or the same hash as another file? A: No. Q: Can one create 2 different files with the same hash? A: With MD5, in a few seconds on a standard computer. With SHA1, it's possible but not practical for end-users (Complexity: 2^61.2 Price: $11k). Q: Can one make 2 different files get the same hash by appending stuff? A: W

                                            GitHub - corkami/collisions: Hash collisions and exploitations
                                          • Announcing error-stack – HASH Developer Blog

                                            This is an old blog post and may contain code which does not compile with the current error-stack version. Please check out the latest documentation and examples for more information. This post outlines some of our experiences with error-handling in Rust, why we built the error-stack library, the architectural choices we made along the way, and what you can expect from the crate. Our error-handlin

                                              Announcing error-stack – HASH Developer Blog
                                            • 【Ruby】Hashもいいけど、一歩進んでStructを積極的に使おう - Qiita

                                              特定の項目について値を保存したりする時にHashはよく使われているかと思います。 しかしながら、Structをあまり使ったことのない方や知らない方も初学者中心にいらっしゃるのではないでしょうか。 Structとはどのようなものなのか、またどのようなケースに有用なのかを是非知っていただきたいと思います。 Structとは Structとは日本語では「構造体」と訳されます。 「構造体」というとっつきにくそうな名前をしていますが、臆することはないです。 「Hashのように保存できる即席クラス」と捉えてください。 Hashはキーバリューストアと呼ばれていて、「キー」と「値」が対に保存されています。 Structもほぼは同じです。 ただし「キー」ではなく「メンバ」と呼ばれており、「メンバ」と「値」が対に保存されています。 あるメンバに値を保存したり、あるメンバの値を取得したりとHashと操作感は似て

                                                【Ruby】Hashもいいけど、一歩進んでStructを積極的に使おう - Qiita
                                              • MySQL8.0.27や8.0.28あたりのmemory/innodb/hash0hashやut0new.hなどの話 | GREE Engineering

                                                こんにちわ。せじまです。 先日、プライベートで新しいPCを買ったので試しにVisual Studio 2022(version 17.7.2)でMySQL8.0.34をデバッグビルドしようと思ったら、sql_main がC2678でビルドできなくなってました(2023-08-29時点)。 Hyper-V上でen_USなWindows11開発環境を立ち上げて試してもC2678が発生したので、日本語版のWindowsに限った問題でもなさそうな気がします。 https://developercommunity.visualstudio.com/ を見ると、コンパイラ周りで "Fixed - Pending Release" な件がいくつか見受けられたので、しばらく様子見しようかなと思っています。 MySQL8.1.0や8.0.34をデバッグビルドする話を書こうかと思っていたのですが、今回は別の話

                                                  MySQL8.0.27や8.0.28あたりのmemory/innodb/hash0hashやut0new.hなどの話 | GREE Engineering
                                                • eBPFプログラムの実行方法を調べる - Hash λ Bye

                                                  はじめに eBPFがLinuxカーネル内で実行されるプログラムの仕組みであることは知っている。 けれどそれ以上の情報をよく知らないので実際に動かしてみて解った振りをしたい。 いろいろeBPFプログラムを書いて試したいので実行方法をまずは確認することにした。 その前に eBPFプログラムの実行方法に関するサンプルは既にLinuxカーネルのリポジトリに大量に提供されている。 Linux 5.7.7 の samples/bpf なのでC言語で遊びたい人はそこを読んで、manでリファレンス引けば特に苦労せずにeBPFプログラムを実行することができるはず。 つまりここから先は読む必要ないので読まなくても良いと思う。 問題: eBPFプログラムを実行する小さいプログラムが欲しい eBPFプログラムを実行するにはどうすればよいのだろうか。 といってもHello Worldを印字するプログラムを作って実行

                                                    eBPFプログラムの実行方法を調べる - Hash λ Bye
                                                  • RubyのHashクラスにおけるキーの書きかたいろいろ - Qiita

                                                    Help us understand the problem. What are the problem?

                                                      RubyのHashクラスにおけるキーの書きかたいろいろ - Qiita
                                                    • Google Hash Code 2022優勝しました! - chokudaiのブログ

                                                      Googleが主催するプログラミングコンテスト「Google Hash Code 2022」で優勝しました!わーい!登録チーム数10000以上、提出チーム数も9031と、非常に大きな大会です。 Algorithm系のコンテスト(AtCoderだとABC,ARC,AGC)とHeuristic系のコンテスト(AtCoderだとAHC)があるのだけど、Heuristic系だと間違いなく最高峰のコンテスト。嬉しい! ぶっちゃけ予選はともかく決勝はチームメイトのおかげだけど……>< 3位も日本勢だし、Heuristic系の日本勢の強さが分かる。いいね! あんまりこういう結果はブログに書かないんだけど、「自分が優勝した」という記録はネット上に残したくて、どうも公式ページ上ではそれが残らなさそうなので、こうして記事にしてます。 ✷codeってチーム名で出てるんですが、構成員が誰かが、本人たちにしか分から

                                                        Google Hash Code 2022優勝しました! - chokudaiのブログ
                                                      • Instant NeRF の心臓、Multiresolution Hash Encoding をシンプルに実装しつつ2次元画像で試してみる - OPTiM TECH BLOG

                                                        こんにちは、プラットフォーム事業部の河内です。最近は新オフィスを堪能しています。 さて、今年の 3 月に NVIDIA から Instant NeRF という手法が発表されました。 blogs.nvidia.co.jp NeRF がどんなものなのか、Instant NeRF が今までの手法と比べ何がすごいのかについては上記の記事でおおまかに掴めるかと思いますが、中身が気になるところです。 NVIDIA の記事中で Tiny CUDA Neural Networks ライブラリを使用とあるのでリポジトリを見てみると、どうやら TensorFlow や PyTorch を利用したものではなく、Instant NeRF の根幹となる手法のためにチューニングされたフレームワークのようです。 github.com リポジトリの README では 2 つの手法とその論文が引用されており、ひとつは "

                                                          Instant NeRF の心臓、Multiresolution Hash Encoding をシンプルに実装しつつ2次元画像で試してみる - OPTiM TECH BLOG
                                                        • The World's Smallest Hash Table | orlp.net

                                                          This December I once again did the Advent of Code, in Rust. If you are interested, my solutions are on Github. I wanted to highlight one particular solution to the day 2 problem as it is both optimized completely beyond the point of reason yet contains a useful technique. For simplicity we’re only going to do part 1 of the day 2 problem here, but the exact same techniques apply to part 2. We’re go

                                                          • Python Hash Tables: Understanding Dictionaries

                                                            Hi guys, have you ever wondered how can Python dictionaries be so fast and reliable? The answer is that they are built on top of another technology: hash tables. Knowing how Python hash tables work will give you a deeper understanding of how dictionaries work and this could be a great advantage for your Python understanding because dictionaries are almost everywhere in Python. Hash Functions Befor

                                                              Python Hash Tables: Understanding Dictionaries
                                                            • PBKDF2+HMAC hash collisions explained · Mathias Bynens

                                                              Crypto enthousiast Christian ‘CodesInChaos’ Winnerlein recently tweeted: plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmd and eBkXQTfuBqp'cTcar&g* have the same PBKDF2-HMAC-SHA1 hash. This intrigued me, so I decided to find out what is going on exactly, and why this happens. If you’re curious too, keep reading. To confirm these findings, I wrote a Node.js script: #!/usr/bin/env no

                                                              • 大至急アップデートが必要! Apple製品に重大なセキュリティ脆弱性が発見、 - sakura_hashのブログ

                                                                Apple社は6月21日に最新のiOSのアップデートを公開し、2つの重大なセキュリティ脆弱性を修正した。これらの脆弱性はすでにハッカーによるiPhoneおよびiPadへの攻撃に利用されている。 Apple社の公式サポートページによれば、新たにリリースされたiOS 16.5.1はカーネルの問題を修正している。特定のコードCVE-2023-32434として識別されたこの問題は、攻撃者がカーネルレベルでコードを実行する可能性を示している。Apple社は具体的な修正の詳細について公開していないが、この問題がiOS 15.7以前のバージョンへの攻撃に積極的に利用されていると警告している。 複数の科学技術ニュースサイトによれば、これらの脆弱性は「Operation Triangulation」と名付けられたハッカーによる攻撃に関連している可能性がある。この攻撃によって、悪意あるコードがAppleのiM

                                                                  大至急アップデートが必要! Apple製品に重大なセキュリティ脆弱性が発見、 - sakura_hashのブログ
                                                                • SwissMap: A smaller, faster Golang Hash Table

                                                                  Today's blog is announcing SwissMap, a new Golang hash table based on SwissTable that is faster and uses less memory than Golang's built-in map. We'll cover the motivation, design and implementation of this new package and give you some reasons to try it. This blog is part of our deep-dive series on the Go programming language. Past iterations include posts about concurrency, "inheritance", and ma

                                                                    SwissMap: A smaller, faster Golang Hash Table
                                                                  • トレンドマイクロのスレットインテリジェンス:「Graph Hash」を活用した標的型攻撃の特定 | トレンドマイクロ セキュリティブログ

                                                                    脅威を積極的に探索する「スレットハンティング」、そして専門家が蓄積する脅威についての知見である「スレットインテリジェンス」の共有は、サイバーセキュリティ業界での一般的な慣行であり、多くの専門家のみならず、実際の対策のためにも役立っています。スレットインテリジェンスの中でも、マルウェア検体間の類似性調査は、あるマルウェアに関連する亜種の把握に使用されます。特に標的型攻撃の調査においては、使用されるマルウェアの類似性から複数の攻撃事例の関連性や、その攻撃の背後にいる攻撃者や攻撃目的などを導き出すための重要な情報となりえます。トレンドマイクロではマルウェアの類似性を特定する調査方法の1つとして「Graph Hash」の活用を進めています。今回、その有用性を実証するために、日本でも攻撃が確認された標的型攻撃キャンペーン「Orca」の調査にGraph Hashを適用しました。 ※本記事で解説する「G

                                                                      トレンドマイクロのスレットインテリジェンス:「Graph Hash」を活用した標的型攻撃の特定 | トレンドマイクロ セキュリティブログ
                                                                    • Hash tables - Data structures in practice

                                                                      In this post you will learn what hash tables are, why you would use them, and how they are used to implement dictionaries in the most popular Python interpreter—CPython. What are hash tables?Hash tables are an implementation of the dictionary abstract data type, used for storing key-value pairs. The main dictionary operations are: set_item(key, val)get_item(key)delete_item(key)A dictionary is a us

                                                                      • ipsetの各種データ形式(hash,bitmap,list) - ビットハイブ

                                                                        ipsetの各種データ形式(hash,bitmap,list) ipsetのデータ形式には大きく分けてhash,bitmap,listの3種類があります。今回はそれぞれの特徴をカーネル内のデータ構造も含めて解説したいと思います。 まずは、一番多く使われているであろうhashセットです。 登録したエントリは名前のとおりハッシュ形式で保持します。ハッシュなので検索も高速に行えます。netfilter(iptables)に大量のエントリを登録するとリニアサーチで遅くなるので、ipsetでまとめて登録するのが推奨されるのはこのためです。 ハッシュ内に持つデータの種類によって、hash:ip,hash:mac,hash:ip,port等いろいろな形式のセットがありますが、よく使われるのはIPアドレスを保持するhash:ipやネットワークアドレスを保持するhash:netあたりかと思います(*1)。

                                                                        • PHP, パスワードのハッシュはpassword_hash()を使おう!

                                                                          ハッシュって何? ハッシュは、複雑なルール(アルゴリズム)で意味不明の別の文字列に変換することで、パスワードなど見られるとマズい文字列をデータベースなどへ保存するのに使います。 またキャッシュ(クッキーも)の名前など、ファイル名から何をしているのか悟られたくないものに使います。 データベースなどへパスワードをそのまま保存するのはセキュリティ上よくありません。 (データベースを参照されるともろバレするため。) そこでハッシュ化した文字列を使います。ハッシュ文字列の復元はほぼ不可能です。パスワードをDBに登録する処理を書いた人でさえできません。

                                                                            PHP, パスワードのハッシュはpassword_hash()を使おう!
                                                                          • [Rails] ActiveModel::Attributesの使い方(配列化やネストしたhashの取り扱いなども) - Qiita

                                                                            Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationWhat you can do with signing up

                                                                              [Rails] ActiveModel::Attributesの使い方(配列化やネストしたhashの取り扱いなども) - Qiita
                                                                            • M5Stacck版のpwnagochi ESP32 WiFi Hash Monster を作ろう | カラスのガレージ

                                                                              最近このブログにpwnagotchiの作り方を探してたどり着く人が増えていますね。 ところで、pwnagotchiって手に入りづらいraspberry pi zeroを使わないといけない上に若干高価なe-ink HATを使ったり外付けバッテリーを用意したり色々面倒ですね。 前々からM5 Stackで作れればいいと思ってたのですが、いつのまにか作られてました。 Wifi Hash Monsterというプログラムで、先日Gizmodoで紹介されていました。 今回はこのwifi hash monsterを作ってみましょう。 準備するもの M5 stack Basicでもgrayでもどちらでもいいですが、安いBasicがおすすめです。 アマゾン商品データの取得に失敗しました アマゾン商品データの取得に失敗しました Micro SDカード 手に入れたhandshakeを保存するためのMicro SD

                                                                                M5Stacck版のpwnagochi ESP32 WiFi Hash Monster を作ろう | カラスのガレージ
                                                                              • Ruby 3.1 – Shorthand Hash Syntax – First Impressions

                                                                                It's the time of year again, and with it comes a bundle of new Ruby 3.1 features getting approved and merged ahead of the December release. This series will be covering a few of the interesting ones I see going across the bug tracker. Have one you think is interesting? Send it my way on Twitter @keystonelemur or comment here. Shorthand Hash Syntax - First Impressions Now this, this is something I'

                                                                                  Ruby 3.1 – Shorthand Hash Syntax – First Impressions
                                                                                • MySQL 8.0.18 の Hash Join について検証してみた | SIOS Tech. Lab

                                                                                  ◆ エンジニア業務環境アンケート結果 ◆ エンジニアが自分の働き方にどういったことで満足していて、不満を感じているのか、働きたい会社像として何を求めているのか、業務環境調査を実施しました。ぜひご覧ください。 ⇒ アンケート結果はこちらから こんにちは。サイオステクノロジー OSS サポート担当 Y です。 今回は MySQL 8.0.18 で実装された Hash Join について検証してみました。(※以下の内容は MySQL 8.0.17/MySQL 8.0.18 にて検証しています。) ■はじめにMySQL 8.0 では、様々な新機能が追加されています。 普段の業務では PostgreSQL を扱うことが多いのですが、最近 MySQL に Hash Join が実装されたという話を聞いたので、今回はこの Hash Join について検証してみました。 ■MySQL 8.0.18 (Ha

                                                                                    MySQL 8.0.18 の Hash Join について検証してみた | SIOS Tech. Lab

                                                                                  新着記事