• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Friday, July 4, 2025
Techcratic
  • TC
  • AI
    Artificial Intelligence

    Transforming network operations with AI: How Swisscom built a network assistant using Amazon Bedrock

    Artificial Intelligence

    EgoDex: Learning Dexterous Manipulation from Large-Scale Egocentric Video

    Artificial Intelligence

    Instruction-Following Pruning for Large Language Models

    Artificial Intelligence

    How to Combine Streamlit, Pandas, and Plotly for Interactive Data Apps

    Artificial Intelligence

    Tailor responsible AI with new safeguard tiers in Amazon Bedrock Guardrails

    Artificial Intelligence

    Automate Data Quality Reports with n8n: From CSV to Professional Analysis

    Artificial Intelligence

    NewDay builds A Generative AI based Customer service Agent Assist with over 90% accuracy

    Artificial Intelligence

    5 Things You Need to Know About Agentic AI

    Artificial Intelligence

    Normalizing Flows are Capable Generative Models

  • App Zone
    Top 3 Launcher Apps for Apple: Features, Pros, and Cons

    Top 3 Launcher Apps for Apple: Features, Pros, and Cons

    Top 3 Launcher Apps for Android: Features, Pros, and Cons

    Top 3 Launcher Apps for Android: Features, Pros, and Cons

    Top 3 Card Game Apps of 2025: Features, Pros, and Cons

    Top 3 Card Game Apps of 2025: Features, Pros, and Cons

    Top 3 Medical Apps of 2025: Features, Pros, and Cons

    Top 3 Medical Apps of 2025: Features, Pros, and Cons

    Top 3 Travel Apps of 2025: Features, Pros, and Cons

    Top 3 Travel Apps of 2025: Features, Pros, and Cons

    Top 3 Casual Game Apps for 2025: Features, Pros, and Cons

    Top 3 Casual Game Apps for 2025: Features, Pros, and Cons

    Top 3 Food Apps for 2025: Features, Pros, and Cons

    Top 3 Food Apps for 2025: Features, Pros, and Cons

    Top 3 Sport Apps for 2025: Features, Pros, and Cons

    Top 3 Sport Apps for 2025: Features, Pros, and Cons

    Top 3 Productivity Apps for 2025: Features, Pros, and Cons

    Top 3 Productivity Apps for 2025: Features, Pros, and Cons

  • Apple
    Foldable iPads, Apple Intelligence blowback, new Apple Music Radio stations

    MacBook with iPhone CPU rumors, AI Siri partnerships, new EU App Store rules

    July 3, 2025 – iOS 26 features we use everyday

    DOJ lack of TikTok ban enforcement reasoning revealed in letters

    DOJ lack of TikTok ban enforcement reasoning revealed in letters

    New Mac models through 2026 revealed in leaked Apple identifiers

    New Mac models through 2026 revealed in leaked Apple identifiers

    Apple Music iOS 26 vs iOS 18: features compared

    Apple Music iOS 26 vs iOS 18: features compared

    New wallpapers from Apple now available for iPhone, iPad, Mac

    New wallpapers from Apple now available for iPhone, iPad, Mac

    Five new Apple products are coming soon in early 2025, here’s what to expect

    Apple to release Q3 2025 earnings results on Thursday, July 31

    Apple to reveal tariff-stricken Q3 results on July 31

    Apple to reveal tariff-stricken Q3 results on July 31

    Apple is right to ditch iPad Fold in favor of the iPhone Fold

    Apple is right to ditch iPad Fold in favor of the iPhone Fold

  • Retro Rewind
    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

  • Tech Deals
    CableCreation Short USB C Cable 1FT Bundle with Micro USB to USB C Cable 0.65FT

    CableCreation Short USB C Cable 1FT Bundle with Micro USB to USB C Cable 0.65FT

    Apple iPad (5thGEneration) Wi-Fi, 128GB – Space Gray (Renewed)

    Apple iPad (5thGEneration) Wi-Fi, 128GB – Space Gray (Renewed)

    Soundcore Anker Motion Boom Plus IP67 Outdoor Speaker with 80W Stereo Sound, Black

    Soundcore Anker Motion Boom Plus IP67 Outdoor Speaker with 80W Stereo Sound, Black

    ADATA 2TB Premium SSD for PS5 PCIe Gen4 M.2 2280 Internal Gaming SSD Up to 7400 MB/s…

    ADATA 2TB Premium SSD for PS5 PCIe Gen4 M.2 2280 Internal Gaming SSD Up to 7400 MB/s…

    MageGee Portable 60% Mechanical Gaming Keyboard, MK-Box LED Backlit Compact 68 Keys Mini…

    MageGee Portable 60% Mechanical Gaming Keyboard, MK-Box LED Backlit Compact 68 Keys Mini…

    Skytech King 95 Gaming PC Desktop, Ryzen 7 9800X3D 4.7 GHz (5.2 GHz Turbo Boost), NVIDIA…

    Skytech King 95 Gaming PC Desktop, Ryzen 7 9800X3D 4.7 GHz (5.2 GHz Turbo Boost), NVIDIA…

    Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI,…

    Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI,…

    Minecraft – PlayStation 3 (Renewed)

    Minecraft – PlayStation 3 (Renewed)

    Carcassonne Board Game (BASE GAME) – Classic Tile-Laying Strategy for All Ages, Medieval…

    Carcassonne Board Game (BASE GAME) – Classic Tile-Laying Strategy for All Ages, Medieval…

  • Tech Eats
    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Tiramisu Mug Cake: Coffee Lover’s Dream in 2 Minutes!

    Tiramisu Mug Cake: Coffee Lover’s Dream in 2 Minutes!

  • Tesla
    for Garmin GPS Car Mount 2 Pack Replacement Adhesive 17mm Ball Mount Dashboard…

    for Garmin GPS Car Mount 2 Pack Replacement Adhesive 17mm Ball Mount Dashboard…

    2PCS Soft Microfiber Car Dash Duster Brush, Mini Multi-Functional Car Cleaning Brush for…

    2PCS Soft Microfiber Car Dash Duster Brush, Mini Multi-Functional Car Cleaning Brush for…

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla sold 5000 Cybertrucks in Q2 and Optimus is in Chaos

    2 PCS Bike or Motorcycle Chain Washer, Motorcycle Chain Cleaning Brush Tool Kit,…

    2 PCS Bike or Motorcycle Chain Washer, Motorcycle Chain Cleaning Brush Tool Kit,…

    Tesla launches Oasis Supercharger with solar farm and off-grid batteries

    Tesla launches Oasis Supercharger with solar farm and off-grid batteries

    5PCS Wheel Lock Nut Key Removal Kit for Tesla Model 3 & Model Y & Model X & Model S &…

    5PCS Wheel Lock Nut Key Removal Kit for Tesla Model 3 & Model Y & Model X & Model S &…

    2 PCS Trailer Hitch Coupler Lock, Dia 1/4 Inch 3/4 Inch Span Trailer Hitch Lock with…

    2 PCS Trailer Hitch Coupler Lock, Dia 1/4 Inch 3/4 Inch Span Trailer Hitch Lock with…

    Center Console Dashboard Organizer for 2024-2025 2026 Tesla Cybertruck Accessories,…

    Center Console Dashboard Organizer for 2024-2025 2026 Tesla Cybertruck Accessories,…

    Motor Trend Grand Prix Tire Tread Rubber Car Floor Mats for Autos SUV Truck & Van -…

    Motor Trend Grand Prix Tire Tread Rubber Car Floor Mats for Autos SUV Truck & Van -…

  • UFO
    Roswell – Season 3

    Roswell – Season 3

    I Want to Believe 2: UFOs & UAPs [DVD]

    I Want to Believe 2: UFOs & UAPs [DVD]

    The Astonishing Truth Behind UFO Sightings

    The Astonishing Truth Behind UFO Sightings

    GPS Drones with Camera for Adults 4K, Brushless Motor FPV RC Quadcopter with Auto Return, Follow Me, Headless Mode, 50 Mins Long Flight, Lightweight and Foldable Drone for Beginner

    GPS Drones with Camera for Adults 4K, Brushless Motor FPV RC Quadcopter with Auto Return, Follow Me, Headless Mode, 50 Mins Long Flight, Lightweight and Foldable Drone for Beginner

    Ancient Aliens and UFOs: 5 UFO sightings in same month July 1952 in different world places

    Ancient Aliens and UFOs: 5 UFO sightings in same month July 1952 in different world places

    Linen Shirts for Men Casual Short Sleeve Button Down Shirt Cool Summer Beach Wedding Vacation Tops

    Linen Shirts for Men Casual Short Sleeve Button Down Shirt Cool Summer Beach Wedding Vacation Tops

    We Discovered an Alien-Like World Below in Antarctica!

    We Discovered an Alien-Like World Below in Antarctica!

    Zengjo Mens Workout Shirts Quick Dry Short Sleeve Athletic Tee Moisture Wicking Top for Running Gym Fitness Training

    Zengjo Mens Workout Shirts Quick Dry Short Sleeve Athletic Tee Moisture Wicking Top for Running Gym Fitness Training

    Ancient Aliens: The Amphibious Gods of Ancient Babylon (Season 14) | History

    Ancient Aliens: The Amphibious Gods of Ancient Babylon (Season 14) | History

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    Transforming network operations with AI: How Swisscom built a network assistant using Amazon Bedrock

    Artificial Intelligence

    EgoDex: Learning Dexterous Manipulation from Large-Scale Egocentric Video

    Artificial Intelligence

    Instruction-Following Pruning for Large Language Models

    Artificial Intelligence

    How to Combine Streamlit, Pandas, and Plotly for Interactive Data Apps

    Artificial Intelligence

    Tailor responsible AI with new safeguard tiers in Amazon Bedrock Guardrails

    Artificial Intelligence

    Automate Data Quality Reports with n8n: From CSV to Professional Analysis

    Artificial Intelligence

    NewDay builds A Generative AI based Customer service Agent Assist with over 90% accuracy

    Artificial Intelligence

    5 Things You Need to Know About Agentic AI

    Artificial Intelligence

    Normalizing Flows are Capable Generative Models

  • App Zone
    Top 3 Launcher Apps for Apple: Features, Pros, and Cons

    Top 3 Launcher Apps for Apple: Features, Pros, and Cons

    Top 3 Launcher Apps for Android: Features, Pros, and Cons

    Top 3 Launcher Apps for Android: Features, Pros, and Cons

    Top 3 Card Game Apps of 2025: Features, Pros, and Cons

    Top 3 Card Game Apps of 2025: Features, Pros, and Cons

    Top 3 Medical Apps of 2025: Features, Pros, and Cons

    Top 3 Medical Apps of 2025: Features, Pros, and Cons

    Top 3 Travel Apps of 2025: Features, Pros, and Cons

    Top 3 Travel Apps of 2025: Features, Pros, and Cons

    Top 3 Casual Game Apps for 2025: Features, Pros, and Cons

    Top 3 Casual Game Apps for 2025: Features, Pros, and Cons

    Top 3 Food Apps for 2025: Features, Pros, and Cons

    Top 3 Food Apps for 2025: Features, Pros, and Cons

    Top 3 Sport Apps for 2025: Features, Pros, and Cons

    Top 3 Sport Apps for 2025: Features, Pros, and Cons

    Top 3 Productivity Apps for 2025: Features, Pros, and Cons

    Top 3 Productivity Apps for 2025: Features, Pros, and Cons

  • Apple
    Foldable iPads, Apple Intelligence blowback, new Apple Music Radio stations

    MacBook with iPhone CPU rumors, AI Siri partnerships, new EU App Store rules

    July 3, 2025 – iOS 26 features we use everyday

    DOJ lack of TikTok ban enforcement reasoning revealed in letters

    DOJ lack of TikTok ban enforcement reasoning revealed in letters

    New Mac models through 2026 revealed in leaked Apple identifiers

    New Mac models through 2026 revealed in leaked Apple identifiers

    Apple Music iOS 26 vs iOS 18: features compared

    Apple Music iOS 26 vs iOS 18: features compared

    New wallpapers from Apple now available for iPhone, iPad, Mac

    New wallpapers from Apple now available for iPhone, iPad, Mac

    Five new Apple products are coming soon in early 2025, here’s what to expect

    Apple to release Q3 2025 earnings results on Thursday, July 31

    Apple to reveal tariff-stricken Q3 results on July 31

    Apple to reveal tariff-stricken Q3 results on July 31

    Apple is right to ditch iPad Fold in favor of the iPhone Fold

    Apple is right to ditch iPad Fold in favor of the iPhone Fold

  • Retro Rewind
    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

  • Tech Deals
    CableCreation Short USB C Cable 1FT Bundle with Micro USB to USB C Cable 0.65FT

    CableCreation Short USB C Cable 1FT Bundle with Micro USB to USB C Cable 0.65FT

    Apple iPad (5thGEneration) Wi-Fi, 128GB – Space Gray (Renewed)

    Apple iPad (5thGEneration) Wi-Fi, 128GB – Space Gray (Renewed)

    Soundcore Anker Motion Boom Plus IP67 Outdoor Speaker with 80W Stereo Sound, Black

    Soundcore Anker Motion Boom Plus IP67 Outdoor Speaker with 80W Stereo Sound, Black

    ADATA 2TB Premium SSD for PS5 PCIe Gen4 M.2 2280 Internal Gaming SSD Up to 7400 MB/s…

    ADATA 2TB Premium SSD for PS5 PCIe Gen4 M.2 2280 Internal Gaming SSD Up to 7400 MB/s…

    MageGee Portable 60% Mechanical Gaming Keyboard, MK-Box LED Backlit Compact 68 Keys Mini…

    MageGee Portable 60% Mechanical Gaming Keyboard, MK-Box LED Backlit Compact 68 Keys Mini…

    Skytech King 95 Gaming PC Desktop, Ryzen 7 9800X3D 4.7 GHz (5.2 GHz Turbo Boost), NVIDIA…

    Skytech King 95 Gaming PC Desktop, Ryzen 7 9800X3D 4.7 GHz (5.2 GHz Turbo Boost), NVIDIA…

    Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI,…

    Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI,…

    Minecraft – PlayStation 3 (Renewed)

    Minecraft – PlayStation 3 (Renewed)

    Carcassonne Board Game (BASE GAME) – Classic Tile-Laying Strategy for All Ages, Medieval…

    Carcassonne Board Game (BASE GAME) – Classic Tile-Laying Strategy for All Ages, Medieval…

  • Tech Eats
    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Tiramisu Mug Cake: Coffee Lover’s Dream in 2 Minutes!

    Tiramisu Mug Cake: Coffee Lover’s Dream in 2 Minutes!

  • Tesla
    for Garmin GPS Car Mount 2 Pack Replacement Adhesive 17mm Ball Mount Dashboard…

    for Garmin GPS Car Mount 2 Pack Replacement Adhesive 17mm Ball Mount Dashboard…

    2PCS Soft Microfiber Car Dash Duster Brush, Mini Multi-Functional Car Cleaning Brush for…

    2PCS Soft Microfiber Car Dash Duster Brush, Mini Multi-Functional Car Cleaning Brush for…

    Tesla employees try to oust Elon, new Volvo, and Micah’s close call

    Tesla sold 5000 Cybertrucks in Q2 and Optimus is in Chaos

    2 PCS Bike or Motorcycle Chain Washer, Motorcycle Chain Cleaning Brush Tool Kit,…

    2 PCS Bike or Motorcycle Chain Washer, Motorcycle Chain Cleaning Brush Tool Kit,…

    Tesla launches Oasis Supercharger with solar farm and off-grid batteries

    Tesla launches Oasis Supercharger with solar farm and off-grid batteries

    5PCS Wheel Lock Nut Key Removal Kit for Tesla Model 3 & Model Y & Model X & Model S &…

    5PCS Wheel Lock Nut Key Removal Kit for Tesla Model 3 & Model Y & Model X & Model S &…

    2 PCS Trailer Hitch Coupler Lock, Dia 1/4 Inch 3/4 Inch Span Trailer Hitch Lock with…

    2 PCS Trailer Hitch Coupler Lock, Dia 1/4 Inch 3/4 Inch Span Trailer Hitch Lock with…

    Center Console Dashboard Organizer for 2024-2025 2026 Tesla Cybertruck Accessories,…

    Center Console Dashboard Organizer for 2024-2025 2026 Tesla Cybertruck Accessories,…

    Motor Trend Grand Prix Tire Tread Rubber Car Floor Mats for Autos SUV Truck & Van -…

    Motor Trend Grand Prix Tire Tread Rubber Car Floor Mats for Autos SUV Truck & Van -…

  • UFO
    Roswell – Season 3

    Roswell – Season 3

    I Want to Believe 2: UFOs & UAPs [DVD]

    I Want to Believe 2: UFOs & UAPs [DVD]

    The Astonishing Truth Behind UFO Sightings

    The Astonishing Truth Behind UFO Sightings

    GPS Drones with Camera for Adults 4K, Brushless Motor FPV RC Quadcopter with Auto Return, Follow Me, Headless Mode, 50 Mins Long Flight, Lightweight and Foldable Drone for Beginner

    GPS Drones with Camera for Adults 4K, Brushless Motor FPV RC Quadcopter with Auto Return, Follow Me, Headless Mode, 50 Mins Long Flight, Lightweight and Foldable Drone for Beginner

    Ancient Aliens and UFOs: 5 UFO sightings in same month July 1952 in different world places

    Ancient Aliens and UFOs: 5 UFO sightings in same month July 1952 in different world places

    Linen Shirts for Men Casual Short Sleeve Button Down Shirt Cool Summer Beach Wedding Vacation Tops

    Linen Shirts for Men Casual Short Sleeve Button Down Shirt Cool Summer Beach Wedding Vacation Tops

    We Discovered an Alien-Like World Below in Antarctica!

    We Discovered an Alien-Like World Below in Antarctica!

    Zengjo Mens Workout Shirts Quick Dry Short Sleeve Athletic Tee Moisture Wicking Top for Running Gym Fitness Training

    Zengjo Mens Workout Shirts Quick Dry Short Sleeve Athletic Tee Moisture Wicking Top for Running Gym Fitness Training

    Ancient Aliens: The Amphibious Gods of Ancient Babylon (Season 14) | History

    Ancient Aliens: The Amphibious Gods of Ancient Babylon (Season 14) | History

No Result
View All Result
Techcratic
No Result
View All Result
Home Hacker News

Parallelizing SHA256 calculation on FPGA

Hacker News by Hacker News
July 3, 2025
in Hacker News
Reading Time: 13 mins read
124
A A
0

2025-07-03 11:25:00
www.controlpaths.com

A few weeks ago, I wrote an article where I developed a hash calculator on an FPGA. Specifically, I implemented an SHA-256 calculator. This module computes the hash of a string (up to 25 bytes) in 68 clock cycles.

The design leverages the parallelism of FPGAs to compute the W matrix and the recursive rounds concurrently. However, it produces only one hash every 68 clock cycles, leaving most of the FPGA underutilized during that time.

In this article we are going to elevate the performance of that system by adding a set of hash calculators to be able of computing several hashes at the same time.

The next diagram shows the structure of the project. I needed to change the hash calculator module to optimize it. If you remember the SHA-256 algorithm, it needs a set of pre-computed values, the K matrix. In this project, that matrix is not inside the SHA core, instead it is in a top level, where all the hash cores have access. This way only one K matrix has to be stored. In addition, the initialization of the W matrix values is performed in parallel, eliminating the AXI Stream interface.

FSM diagram

This two changes reduce the logic used by the core, and elevate its performance. This new SHA core is named sha256_core_pif (pif means parallel interface).

module sha256_core_pif (
  input wire aclk, 
  input wire aresetn, 

  /* input data channel */
  input wire [31:0] string_w0,
  input wire [31:0] string_w1,
  input wire [31:0] string_w2,
  input wire [31:0] string_w3,
  input wire [31:0] string_w4,
  input wire [31:0] string_w5,
  input wire [31:0] string_w6,
  input wire [31:0] string_w7,
  input wire [31:0] string_w8,
  input wire [31:0] string_w9,
  input wire [31:0] string_w10,
  input wire [31:0] string_w11,
  input wire [31:0] string_w12,
  input wire [31:0] string_w13,
  input wire string_dv,
  output wire string_ready,
  input wire [7:0] string_size,
  output reg [6:0] round,
  input wire [31:0] k_round,
  
  /* output data channel */
  output reg sha256_dv,
  output reg [255:0] sha256_data
);

Then, a module called SHA256_manager was added to coordinate all the cores and feed them with the appropriate input values.

The application I implemented is a simple hash cracker or password cracker. It receives a SHA-256 hash and attempts to recover the original string that generated it. This cannot be solved analytically; instead, the SHA256_manager iteratively hashes candidate strings, starting from the first printable character. It then increments the character until it reaches the last one, at which point it appends a new character and restarts the process.

There are 95 printable ASCII characters. This means the system must compute 95 hashes for strings of length 1, 95^2 = 9 025 for two-character strings, and 95^3 = 857 375 for three-character strings. In general, the number of required hashes is 95^n for strings of length n.

All the sha256_core_pif returns the hash calculated, and the SHA256_manager compares all with the received hash. If one of them is the same, then the hash sent to the first sha256_core_pif is sent to the host computer, and also the number of the sha256_core_pif that computes the correct hash. This way, the host computer can obtain the correct string.

The project uses the Litefury board connected to a Raspberry Pi 5 over PCIe. In the next diagram you can find the block design of Vivado.

Vivado block design

To meet the timing requirements, I needed to reduce the AXI clock speed to 62.5 MHz. Using this configuration, I was able of integrate 12 sha256_core_pif modules.

DMA AXI Clock

Regarding the utilization of the FPGA, you will see that it is not close to be full, but the problem was to met the timing requirements.

Utilization

Using 12 accelerators, and a clock speed of 62.5MHz, all the requirements were met.

Timing

In the host side, I created a Python driver to manage the LiteFury. I used the xDMA drivers from Xilinx with the modification we made in this article. Now, the Python driver just needs to open the /dev/xdma0_user peripheral, and write the registers according the register map of the AXI peripheral.

def __init__(self, uio_path="/dev/xdma0_user", map_size=0x20000):
    self.fd = os.open(uio_path, os.O_RDWR | os.O_SYNC)
    self.map_size = map_size
    self.m = mmap.mmap(self.fd, self.map_size, mmap.MAP_SHARED, mmap.PROT_READ | mmap.PROT_WRITE, offset=0)

def close(self):
    self.m.close()
    os.close(self.fd)

def write(self, addr, value):
    self.m.seek(addr+self.AXI_PERIPH_OFFSET)
    self.m.write(struct.pack(", value))  # Little endian

def read(self, addr):
    self.m.seek(addr+self.AXI_PERIPH_OFFSET)
    return struct.unpack(", self.m.read(4))[0]

As I mentioned before, to obtain the final string, we need to read the resulting string addresses, and add the number of the winner module.

def get_password(self, winner):
    pw = b''
    for addr in self.REG_R:
        word = self.read(addr)
        pw += word.to_bytes(4, 'big')
    # Add the value of the winner as integer to the resulting string
    pw_int = int.from_bytes(pw, 'big') + winner
    # Convert the result to bytes
    pw_bytes = pw_int.to_bytes(len(pw), 'big')
    # Invert the order of the result
    pw_bytes = pw_bytes[::-1]
    # ASCII decodingssh p
    return pw_bytes.rstrip(b'\x00').decode('ascii', errors='ignore')

To test the project, I created another Python script that calculates the SHA-256 of a string (It also can be done using the openSSL library). Then, the hash calculated is sent to the accelerator, and it returns the initial string.

~/pass_cracker/python $ python3 sha256_comp.py eoi
SHA-256 of 'eoi': 7c02b8671bb4824e1cea44af7b628e88b81495699d5e9cb0e2533af99320a81b

~/pass_cracker/python $ sudo python3 pass_cracker.py 7c02b8671bb4824e1cea44af7b628e88b81495699d5e9cb0e2533af99320a81b
Password: eoi

Projects like this can be quite impressive to engineers unfamiliar with FPGAs. The ability to accelerate SHA-256 computation by performing different tasks in parallel — and even using multiple hash calculators simultaneously — often sparks curiosity and interest in FPGA technology.

The role of FPGAs in fields like cryptography and cybersecurity is expected to grow significantly in the coming years, as increasingly faster and more flexible systems are required.

All the files of this project are shared in the controlpaths GitHub

Are you involved in a cryptography project and wants to know if an FPGA could help? Contact me.

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share161Share28ShareShare4ShareTweet101
Previous Post

New wallpapers from Apple now available for iPhone, iPad, Mac

Next Post

1 Billion KRW Korean Social Club ‘May Exclude Crypto Millionaires’

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

LooksMapping
Hacker News

LooksMapping

July 4, 2025
1.3k
you are what you launch: how software became a lifestyle brand
Hacker News

you are what you launch: how software became a lifestyle brand

July 3, 2025
1.3k
misorrek/ViscaCamLink: Camera control application for PTZ cameras using the VISCA protocol
Hacker News

misorrek/ViscaCamLink: Camera control application for PTZ cameras using the VISCA protocol

July 3, 2025
1.3k
Apache Tomcat and Camel Vulnerabilities Actively Targeted in Cyberattacks
Hacker News

Apache Tomcat and Camel Vulnerabilities Actively Targeted in Cyberattacks

July 3, 2025
1.3k
Threat Actors Exploit .COM TLD to Host Widespread Credential Phishing Sites
Hacker News

Threat Actors Exploit .COM TLD to Host Widespread Credential Phishing Sites

July 3, 2025
1.3k
Kazedaa/eBAF: You wouldnt Download an Ad. But you would block one.
Hacker News

Kazedaa/eBAF: You wouldnt Download an Ad. But you would block one.

July 3, 2025
1.3k
Azure API Vulnerabilities Expose VPN Keys and Grant Over-Privileged Access via Built-In Roles
Hacker News

Azure API Vulnerabilities Expose VPN Keys and Grant Over-Privileged Access via Built-In Roles

July 3, 2025
1.3k
12-Year-Old Sudo Vulnerability Exposes Linux Systems to Root Privilege Escalation
Hacker News

12-Year-Old Sudo Vulnerability Exposes Linux Systems to Root Privilege Escalation

July 3, 2025
1.3k
Load More
Next Post
Moscow Releases Tax Calculator for Russian Crypto Miners

1 Billion KRW Korean Social Club ‘May Exclude Crypto Millionaires’

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Forbes
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Gaming
  • I Like Cats ™
  • I Like Dogs ™
  • MacRumors
  • Macworld
  • Tech Deals
  • Techcratic ™
  • Techs Got To Eat ™
  • Tesla
  • UFO
  • Wired