Git Product home page Git Product logo

dencode-web's People

Contributors

blueberryy avatar mozq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dencode-web's Issues

Enigma M3: middle rotor II + rigtmost rotors V..VIII produces wrong results

It seems there is an issue with the roror II in Enigma tool.

Steps to reproduce:

  1. Open Practical Cryptography's Enigma tool
  2. Set the following values:
Plaintext: SOMESECRETMESSAGE
key settings: VEZ
ring settings: ABD
Rotors: 324
Plug board settings: GT YC EJ UA RX PN IS WB MH ZV
  1. Press Encrypt/Decrypt
  2. Copy cipertext value to Dencode Enigma tool
  3. Configure Dencode Enigma tool with the above mentioned settings. (Reflector UKW-B)

Result: message is decrypted correctly.

  1. In the Practical Cryptography's Enigma tool set rightmost rotor to 5 (to be 325)
  2. Repeat steps 3-4

Result: message is decrypted incorrectly.

  1. In the Practical Cryptography's Enigma tool set middle rotor to 3 (to be 335)
  2. Repeat steps 3-4

Result: message is decrypted correctly.

So it seems that combinations of the middle rotor II + rightmost rotors V..VIII produce incorrect results.

I've also tested CacheSleuth tool, and it behaves like Practical Cryptography's one, i.e. it has no such issue.

P.S. Thanks to @the-lambda-way

Date ISO 8601 wrong week numbers

In ISO 8601 the first week of the year is the one with the first Thursday in it.
Currently, the date converter gives the week with 1 January in it as the week 1 in the output "ISO8601 Date (Weeks)", so, for years that starts in Friday, Saturday or Sunday, the week numbers of all the days are 1 week ahead and the first 3 days of the year are 1 year ahead.
Examples, the dates:
2016-12-31
2017-01-01
Output:
2016-W53-6T00:00:00Z
2017-W01-7T00:00:00Z
They should be:
2016-W52-6T00:00:00Z
2016-W52-7T00:00:00Z

I guess some lines need to be added in:
src/main/java/com/dencode/web/servlet/pages/DencodeServlet.java
Incorporating the format for week year (YYYY instead of yyyy) in the pattern string and setting the minimal days required in first week to 4 in the Calendar used by the DateFormat object.

Links to the methods in case they are indeed of help:
https://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html#setCalendar(java.util.Calendar)
https://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html#setMinimalDaysInFirstWeek(int)

Unable to build project help please.

First I love your dencode, it's what I really needed badly to convert UTF-16LE to Hex to work on some tables in Cheat Engine. and works perfectly and quickly. I was trying to build it but I keep getting this error. I'm not an advanced user and never used "Grandle" before, but I have built applications in Github with no issues. I'm really curious how I can get dencode working offline because I want to learn the trick to building it without getting this error:

dencode-web>gradlew appRunStage
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> error: invalid source release: 17

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1s
1 actionable task: 1 executed

I have Java SDK 17 and 21 installed on my computer so I have no idea what I'm doing wrong. I set my Java bin directory path in Environmental Variables too. Any help so I can get your awesome dencode working for me locally?

Small Caps Converter

Is it possible to add small caps converter? i.e. abcdefghijklmnopqrstuvwxyz to ᴀʙᴄᴅᴇꜰɢʜɪᴊᴋʟᴍɴᴏᴘꞯʀꜱᴛᴜᴠᴡxʏᴢ

Note: “LATIN LETTER SMALL CAPITAL X” does not exist and plain small letter x is used instead.

Fair use of the API?

Hi!

This is a great project! ❤️

I would like to write and publish a PowerToys Run plugin that use your API.

Can I POST to https://dencode.com/dencode from the plugin?
Would that be fair use of the API?
Would you prefer that I set a specific user agent for those requests?

Thanks!

/ Henrik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.