Author Topic: Hash codes demo (MD5, SHA-1, SHA-256)  (Read 2272 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2121
    • View Profile
    • Geeks3D.com
Hash codes demo (MD5, SHA-1, SHA-256)
« on: December 19, 2018, 06:09:48 PM »
A quick article about new hash functions in GeeXLab 0.26+

Article:
https://www.geeks3d.com/hacklab/20181219/hash-functions-md5-sha-1-sha-256/

Demo download (the demo requires GeeXLab 0.26.3.0+):
https://www.geeks3d.com/r/50041

GeeXLab download
https://www.geeks3d.com/geexlab/downloads/

GeeXLab - Hash code generator demo: MD5, SHA1, SHA256



Alex

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: Hash codes demo (MD5, SHA-1, SHA-256)
« Reply #1 on: January 12, 2019, 03:38:57 AM »
Hi,

Is it possible to not run render code if final image does not change? I remember some info from changelog about adding such method.

Kind regards,
Alex

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2121
    • View Profile
    • Geeks3D.com
Re: Hash codes demo (MD5, SHA-1, SHA-256)
« Reply #2 on: January 14, 2019, 06:36:00 PM »
Is it possible to not run render code if final image does not change? I remember some info from changelog about adding such method.

Yes, GeeXLab has a mode where 3D/2D rendering is driven by a timer or input events (mouse, keyboard).

Just edit the main.xml file and add

render_timer_interval="200" separate_render_thread="0"

to the window xml node:

Code: [Select]
<window name="win3d01" title="Hash Codes"
              width="740" height="600"
              render_timer_interval="200" separate_render_thread="0"
              gl_version_major="2" gl_version_minor="1"  />

The render code is executed every 200ms or if an input event is received.