Protecting a specific sized message with some limitations

So I make a research on my own. I have a device it allows a 64bit message. I wanted to secure it but I 64bits arent just enough to hash it and encrypt it. Is there really any good Hash function out there that can produce a 64bit result from a seed of 128bit ? I tried to search but there are many limitations. Note I use micro controller so a lightweight one is a must “key”

How to automatically sign a message using PGP in an email?

Is there any way to sign and send a message from email server automatically…without using any desktop client to sign the message.

For Example, A wants to send a message to B. A open its email account, composes message and click on ‘send’. After pressing send button message should be automatically signed by PGP private key and deliver to B. A don’t want to use desktop client to copy message, then sign and then compose and then send…manually

Show message when query has no posts

I wrote a shortcode to display all my jobs. When there are no jobs, I want to display a message instead of the available jobs. I used an else-statement to display different content if there are no posts, but nothing displays when I try it.

My code:

function dfib_jobs_shortcode( $  atts ) {     ob_start();      $  query = new WP_Query( array(         'post_type' => 'jobpost',         'posts_per_page' => -1,         'order' => 'ASC',         'orderby' => 'rand',     ) );       if ( $  query->have_posts() ) { ?>         <div class="vacatures__wrapper">             <?php while ( $  query->have_posts() ) : $  query->the_post(); ?>                 <div class="vacature__item">                     <h4 class="vacature__title"><?php the_title() ?></h4>                         <?php if ( has_excerpt() ) {                              the_excerpt();                         } else {                             the_content();                         } ?>                     <a class="vacature__btn" href="<?php the_permalink() ?>"><?php _e( 'meer info', 'vdp' ) ?></a>                 </div>             <?php endwhile; ?>             <div class="vacature__item spontaan">                 <h4 class="vacature__title"><?php _e( 'Spontaan solliciteren?', 'vdp' ) ?></h4>                     <a class="vacature__btn" href="<?php _e( '/spontaan-solliciteren', 'vdp' ) ?>"><?php _e( 'solliciteren', 'vdp' ) ?></a>             </div>             <?php wp_reset_postdata(); ?>         </div>      <?php $  myvariable = ob_get_clean();     return $  myvariable;     } else {         ?>         <div class="vacature__item spontaan">             <h4 class="vacature__title"><?php _e( 'Momenteel zijn er geen vacatures!', 'vdp' ) ?></h4>             <a class="vacature__btn" href="<?php _e( '/spontaan-solliciteren', 'vdp' ) ?>"><?php _e( 'Spontaan solliciteren', 'vdp' ) ?></a>         </div>         <?php     } } add_shortcode( 'vacatures', 'dfib_jobs_shortcode' ); 

Custom message logs

We could really use custom message logs, in 2 formats, failed and success, for example:

[STEP1]

custom failed1=Cannot register on this page
custom failed1 condition=You cannot register

custom success1=Already logged in
custom success1 condition=>Logout<

How might we help customers get back on track from a connection timeout message

I’m designing ‘sad path’ scenarios for checkout and I’m trying to design for helping customers when a connection timeout occurs when the checkout hangs trying to connect to our 3rd party credit card payment form.

When this happens the credit payment form could not get loaded in our checkout environment.

A simple solution is to reload the page.

The UX/UI solution I’m putting forward is an alert message that appears on the page and asks the customer to reload the page.

This is my attempt at making the error message more ‘user-friendly’:


A connection error occurred

An error occurred when we were trying to connect to the system.

Please reload the page to try connecting again.

[ Reload page ] <— button


How do people feel about the above message? Any other solutions you can think of?

Thanks.

Is it possible to analyze and decrypt personal message? [on hold]

Im working on my thesis to do some pentest on android application call Picmix. My research was test some vulnerability on this app if we using this on public WiFi. What im trying to do is test and analyzed some traffic or decrypt personal message without others devices knowing.

I use 2 smartphones with 2 my own account to do some personal message tests. It works fine for uploading and fetching image with driftnet on my kali.

This is for educational purpose only..