Denigma for Developers - AI that reads and explains code in conversational English
Shared by vanessaonugebu · 11d ago · 14 comments

Check out Denigma and give us your feedback! If you like it, be sure to join the waitlist to receive discount codes, follow our updates, and so much more. Denigma won't be free for long, so enjoy it while you can. Plus, TWEET US YOUR FEEDBACK TO GET OUR ATTENTION!

peerhose.com · 8d ago

Nice

vanessaonugebu · 8d ago

Be sure to join the waitlist so you don’t miss out

kendsouza · 9d ago

I tested a encryption function and it did a good job of translating it in english ..but as a developer I understand the code. So not sure the added value for a developer but still impressive. Could be helpful for a beginner.

Below is the PHP code example I used...

function encrypt($data = '', $encryption = '')
{
if (empty($data)) {
return;
}
switch (strtoupper($encryption)) {
case 'MD5':
$text = md5($data);
break;
case 'SHA1':
$text = sha1($data);
break;
case 'CRC32':
$text = crc32($data);
break;
case 'COMPLEX':
//$text = complex($data);
for ($i = 0; $i <= 100; $i++) {
if (checkComplexString($data = complex($data)) === true) {
$text = $data;
break;
}
}
break;
default:
$text = md5($data);
break;
}
return $text;
}

Output:
---------
- The code is a function that encrypts data.
- It takes two parameters: the first is an empty string, and the second is an encryption key.
- The switch statement checks for different types of encryption keys and then uses them to create a new string from the original data.

- The code starts by checking if there's any input in $data.
- If not, it returns without doing anything else.
- Next, it checks if $encryption is equal to 'MD5'.
- If so, it creates a new string with md5($data) as its text value and breaks out of the loop because this type of encryption doesn't need any more processing done on it.
- Next, it checks if $encryption equals 'SHA1'.
- If so, sha1($data) will be used as its text value and break out of the loop again because this type of encryption needs no further processing done on it either (it's already been encrypted).
- Finally, when all other cases are checked off in the switch statement (CRC32), COMPLEX), or default case), they use their respective functions to create a new string from complex($data).

- The code attempts to encrypt a string.
- The first step of the code is to check if the data passed in is empty or not.
- If it's not, then we know that there must be some text and so we proceed with our encryption process by checking what type of encryption was used: MD5, SHA1, CRC32 or COMPLEX.

- If it's an MD5 encryption, then we use md5() function on the given data and create a new string which will be returned as encrypted value for further usage (in this case).
- If it's a SHA1 encryption, then we use sha1() function on the given data and create a new string which will be returned as encrypted value for further usage (in this

vanessaonugebu · 9d ago

Thank you!!! Can you tweet about Denigma or share it in any communities you're in. We're a free tool until the end of 2021! PS: I hope you joined the waitlist!

haydenwilliams · 10d ago

I love this. A use case pops out at me immediately, and this comes at a time when I have not seen any effective solutions thus far. I don’t know how many smart contracts are deployed daily, that are initiated by a user clicking “accept” but id guess its incredibly high. Often with smart contracts in distributed ledgers, a contract transaction gets validated by all or multiple nodes in the network. It rarely gets validated by the person clicking the button to accept it, other than maybe a list of which functions it uses in the best case. Most people can’t make an informed decision from that. The contract could be something different than what the GUI is leading them to believe. If running contracts through something like the denigma app and showing a condensed version of the output to the user became the standard, we’d avoid a lot of scams outright. for devs wanting to inspire trust from their users, this could be huge.

vanessaonugebu · 10d ago

Thank you for this feedback, it definitely gives me some ideas
! I hope you joined the waitlist on denigma.app !

haydenwilliams · 10d ago

I did! I’m in an industry where lack of experience, decentralized collaboration, and volunteerism are common. I see so much benefit here. Love seeing tools like this, paying close attention to this one!

AndyDent-Touchgram · 10d ago

I glanced at a couple of examples. How does it do on complex code if you don't have comments in there explaining what's happening?

It may work but your dense code example gives the impression it's cheating.

vanessaonugebu · 10d ago

Did you try running complex code of your own through Denigma?

vanessaonugebu · 10d ago

I don't really understand why it gives the impression it's cheating?

AndyDent-Touchgram · 9d ago

My point was that most of the good parts of the explanation come from the code comments. If the code comments are removed, what does your AI say about that code?

AndyDent-Touchgram · 10d ago

Also, I've seen vastly more obscure code than that. Try a 3D CAD product that's evolved for 20 years and the original was in FORTRAN auto-converted to C++. It brought cppdepend to its knees.

vanessaonugebu · 10d ago

Did you join the waitlist to stay updated on Denigma?

AndyDent-Touchgram · 9d ago

No, I don't see the point for me. The kinds of bugs I wrestle with are nothing to do with code complexity and its faster for me to read code than that kind of prose description.