ecb

DES encryption and cipher modes

I need to encrypt an ISO 8583 message... the problem here is that the message is longer than the key. I need some one help me how to encrypt this string. For example: I have 300 chars in my string; should I encrypt each 16 chars alone then concat them, since my master key length is 16 bytes? I appreciate your help... ISO 8583-1:20...

how to apply custom action in ECB only for document item

I have added a menu item in edit control block(ECB) in document library(using following msdn article http://msdn.microsoft.com/en-us/library/ms473643.aspx) Now i found that the custom action(menu Item) in ECB is displayed for both document item and document folder. So how to apply custom action only for document item? ...

How do I run a command just after the emacs frame has been rendered?

I'm trying to figure out how to use Emacs Code Browser (ECB) and one of the things you can do with it is set ecb-windows-width to decide how wide the ecb windows are. The problem is this sequence: Frame pops up on screen. ecb-activate gets called, scaled according to ecb-windows-width. default-frame-alist parameters kick in, frame gets...

Installing CEDET 1.0pre6 as user while keeping CEDET 1.0pre4 deb package installed

My work computer (Ubuntu 8.10) has CEDET version 1.0pre4 installed, and I'm trying to install the newest version of CEDET (1.0pre6) in my local directory (the ultimate goal, upgrading ECB to the newest version). Unfortunately, the default debian/ubuntu installation initializes the system-wide packages for CEDET and ECB before my .emacs ...

How to programmatically disable ecb menu item for a particullar list item

Hi! I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on their property. ...

How to remove directory window and add a cscope window in Emacs ECB?

Yesterday I installed ECB on my Emacs, and I find method window and history window quite useful. But directory tree window and source window less useful, if I can hide them I will save more space for method window and history. Another problem is that I use cscope to search through the project for definitions and callers, the result of ...

emacs semantic/ECB namespace-struct C++ confusion

hi I'm trying to setup ECB to work with C++ sources. seemingly, semantic or ECB has problem determining whenever a function declarant with explicit namespace, namespace:: function , is really in the namespace. instead it parses it as struct member function. Moreover, typedef is parsed as function prototypes. What should I do to fix it...

Encryption: TCB (Tweaked CodeBook) algorithm - what is it?

Can someone please provide a description of TCB algorithm? ...

Can ECB be restricted to "take over" only the current buffer when it's activated?

From the get go: sorry if I'm not using the proper emacs terminology -- I'm relatively wet behind the ears in the emacs world. Most of my work in emacs is for programming R, and I'm using ESS and ECB to do so quite happily. I'd like to build a custom ECB layout which uses the entire bottom of the screen as my R console, while putting so...

Is there any ECB (or other)-enhanced find file mojo?

Can I use ECB (or some other project aware thing, like eproject, ibuffer, etc.) to enhance emacs's find-file goodness? Imagine this scenario: I have several projects/directories specified in my ecb-source-path, let's call them Project1 and Project2, and they look like so: Project1 foo.c bar.c Project2 foo.c baz.c I'd like to...

Java AES Decrypting problem

I have been tasked with decrypting a file in Java that has been encrypted using the following criteria: AES encryption algorithm with 128-bit key, ECB mode and PKCS7 padding. The encrypted file format is: - first byte is hex 0x31 – specifying encryption method used (1 for AES) - followed by the encrypted bytes of the input file I...

Encrypt with PHP and Decrypt with Java

I have to write a program to decrypt a message using JAVA. The message is encrypted using Triple DES / ECB implemented in PHP. I have tried a few different settings on the algorithm, mode, and padding schema. I do not get the correct result. What is missing? Here is the PHP program that encrypt the message: $config_mcrypt_ecb_key = "1...