Skip to main content
Became Hot Network Question
polish and tags
Source Link
kelalaka
  • 49.5k
  • 12
  • 119
  • 205

Optimizing SHA256SHA-256 implementation for fixed input prefix

Is it possible to optimize/precalculate some results in SHA256SHA-256 if the input starts with fixed values? My input is always 1111||message1111||message. Can I precalculate the 11111111 in SHA256SHA-256 to save some cycles?

Optimizing SHA256 implementation for fixed input prefix

Is it possible to optimize/precalculate some results in SHA256 if the input starts with fixed values? My input is always 1111||message. Can I precalculate the 1111 in SHA256 to save some cycles?

Optimizing SHA-256 implementation for fixed input prefix

Is it possible to optimize/precalculate some results in SHA-256 if the input starts with fixed values? My input is always 1111||message. Can I precalculate the 1111 in SHA-256 to save some cycles?

edited title
Link
DannyNiu
  • 9.8k
  • 2
  • 25
  • 62

Optimizing SHA256 implementation for fixed input prefix

Source Link

Optimizing SHA256 for fixed input

Is it possible to optimize/precalculate some results in SHA256 if the input starts with fixed values? My input is always 1111||message. Can I precalculate the 1111 in SHA256 to save some cycles?