openwall / openwall/john

Add BSDIcrypt-opencl

Open
#1,919 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new format
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Solar:
Oh, and another task: we need bsdicrypt in OpenCL. IIRC, I heard that oclHashcat got it recently, too (prior to bitslicing, but perhaps atom will bitslice it as well, if not already).

This should be easy for Sayantan since bsdicrypt is so similar to descrypt, except that the number of different salts is not limited by 4096, so supporting a mode without per-salt kernels is more important. It might also make sense to have a mode with up to 4096 per-half-salt kernels (the salts are 24-bit), with the other half of the salt bits applied at runtime (indices).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing descrypt OpenCL implementation and comparing it with the BSDIcrypt requirements described here. The work is done when BSDIcrypt is supported in OpenCL, including salts beyond the 4096 limit and any appropriate per-salt kernel mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.