react-play icon indicating copy to clipboard operation
react-play copied to clipboard

Add Play : Play Fair Cipher

Open KMohZaid opened this issue 2 years ago • 10 comments

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • [x] New Play

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  1. Local Testing
  2. E2E testing

Checklist:

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] ~~I have made corresponding changes to the documentation~~
  • [x] My changes generate no new warnings
  • [ ] ~~I have added tests that prove my fix is effective or that my feature works~~
  • [x] New and existing unit tests pass locally with my changes
  • [ ] ~~Any dependent changes have been merged and published in downstream modules~~

KMohZaid avatar Oct 19 '22 08:10 KMohZaid

@KMohZaid is attempting to deploy a commit to a Personal Account owned by @reactplay on Vercel.

@reactplay first needs to authorize it.

vercel[bot] avatar Oct 19 '22 08:10 vercel[bot]

Issue : #724

KMohZaid avatar Oct 19 '22 08:10 KMohZaid

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-play ✅ Ready (Inspect) Visit Preview Nov 4, 2022 at 1:03PM (UTC)

vercel[bot] avatar Oct 19 '22 14:10 vercel[bot]

Why my email is showing instead username? @atapas

KMohZaid avatar Oct 19 '22 15:10 KMohZaid

Screenshot 2022-10-19 at 11 30 36 PM Screenshot 2022-10-19 at 11 31 37 PM

I am not getting the same input text after encrypting and then decrypting

It is because your input text is odd length so while encrypting x is added to make it even

And yeah if your input contain same character pair like hello = he ll o then it will split ll using x also So it is he lx lo and then encrypt it

This is how play fair works

More info on play fair cipher: https://www.dcode.fr/playfair-cipher https://www.geeksforgeeks.org/playfair-cipher-with-examples/

KMohZaid avatar Oct 19 '22 18:10 KMohZaid

Why my email is showing instead username? @atapas

And yeah i guess this play is not beginner level

KMohZaid avatar Oct 19 '22 18:10 KMohZaid

@KMohZaid Can you check your tab settings in your editor? It is too large to review

koustov avatar Oct 19 '22 19:10 koustov

@KMohZaid Can you check your tab settings in your editor? It is too large to review

What you mean by Tab settings? Too large? Isn't it only 2 file ( css and .tsx ) other are just merge from this repo

KMohZaid avatar Oct 19 '22 19:10 KMohZaid

@KMohZaid Can you check your tab settings in your editor? It is too large to review

What you mean by Tab settings? Too large? Isn't it only 2 file ( css and .tsx ) other are just merge from this repo

I meant the editor tab size settings. e.g.: In my vs code its image

Check yours

koustov avatar Oct 20 '22 03:10 koustov

I meant the editor tab size settings. e.g.: In my vs code its image

Check yours

Mine is 4 but prettier format javascript to 2

KMohZaid avatar Oct 20 '22 05:10 KMohZaid

Why my email is showing instead username?

@atapas

Go to your GitHub profile, edit it, add your full name. It will be fixed automatically here.

atapas avatar Oct 20 '22 13:10 atapas

Why my email is showing instead username? @atapas

Go to your GitHub profile, edit it, add your full name. It will be fixed automatically here.

Tried but not happen ig it is because of nhost because there also my email is written in place of name

KMohZaid avatar Oct 20 '22 15:10 KMohZaid

Why my email is showing instead username? @atapas

Go to your GitHub profile, edit it, add your full name. It will be fixed automatically here.

Tried but not happen ig it is because of nhost because there also my email is written in place of name

@atapas any solution? I edit full name but still email showing

KMohZaid avatar Nov 09 '22 15:11 KMohZaid