Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing of main info #4

Open
beh1nd opened this issue May 20, 2014 · 3 comments
Open

changing of main info #4

beh1nd opened this issue May 20, 2014 · 3 comments

Comments

@beh1nd
Copy link

beh1nd commented May 20, 2014

Hello there.
First i want to say that this is one amazing script.

My question is how to change the main info

<?php

    function welcome()
    {
        echo <<< HTML
            Welcome to EZCrypt.

            We provide you with the power to encrypt the data BEFORE it gets stored on our site.
            All encryption/decryption is done on the client end using AES-CBC 128bit with a hash
            key generated on each paste. The server will only store the encrypted data without the
            hash key, so only you have the power to decrypt it.
HTML;

    }

I mean how to encrypt the new info and decode it ? where to get the hashes cuz i don't see any option.

@mokiding
Copy link

Which info exactly you want to change ? :)

@beh1nd
Copy link
Author

beh1nd commented May 24, 2014

function welcome()
    {
        echo <<< HTML
            Welcome to EZCrypt.

            We provide you with the power to encrypt the data BEFORE it gets stored on our site.
            All encryption/decryption is done on the client end using AES-CBC 128bit with a hash
            key generated on each paste. The server will only store the encrypted data without the
            hash key, so only you have the power to decrypt it.
HTML;

this one.
I found an online encoder but don't know what to put on

editor.setValue( decrypt( 'here', welcome ) );

To be displayed on the page.

@novaking
Copy link
Owner

novaking commented Aug 3, 2014

Easiest way is to encrypt the new string you want and update the welcome variable and the key with that new encrypted data and key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants