Skip to content

Instantly share code, notes, and snippets.

@saeedvaziry
saeedvaziry / .vimrc
Created September 14, 2023 11:30
Vim Configuration
nnoremap <silent> <C-z> :u<CR>
nnoremap <silent> <C-q> :q!<CR>
nnoremap <silent> <C-s> :w<CR>
call plug#begin()
Plug 'preservim/nerdtree'
nnoremap <silent> <C-b> :NERDTreeToggle<CR>
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
<?php
/**
* @param $data
* @return string
*/
function bpm_encrypt_enc_pan($data)
{
return bin2hex(openssl_encrypt(hex2bin($data), 'des-ecb', hex2bin('2C7D202B960A96AA'), OPENSSL_NO_PADDING));
}